From: Bitbucket <com...@bi...> - 2019-07-06 13:56:15
|
1 new commit in naviserver: https://bitbucket.org/naviserver/naviserver/commits/8d461fb5d6d0/ Changeset: 8d461fb5d6d0 User: gustafn Date: 2019-07-06 13:55:51+00:00 Summary: - New feature: download bandwidth management per connection pool (specified as kilobytes per second) Similar to the recently introduced per-connection bandwidth management, one can now as well bandwidth management per connection pool. By using this features the total bandwidth of all currently running connections can be limited to some maximum value. The rate limitation is only active, when writer threads are used. Per default, the pool rate limitation is turned off (value 0). New configuration option for connection pools ns_param poolratelimit .... - The command "ns_writer list" returns now the current transfer rate and the rate limit per writer job. - new API infrastructure: Ns_DList The Ns_DList ist similar to Tcl_DString, but operates on pointers instead of characters. Like Tcl_DString, Ns_DList pre-allocates some data and extends it when necessary. Ns_DList structures are especially useful alternative to linked lists, when usually data is added to the end. Since the data is kept as a dense (potentially growing) array, the memory locality is much better than linked list, resulting in better CPU cache hit rates. This is actually a port of the structure, using since many years in the NSF framework. Affected #: 25 files Repository URL: https://bitbucket.org/naviserver/naviserver/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. |