mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-26 18:42:43 +01:00
Proxy performance fix, ticket #3439
Improve performance of the proxy forwarding batch of message. Add throughput benchmark for proxy. Fix valgrind error reported on unitialized vars RELICENSE: Add emtr grant
This commit is contained in:
@@ -70,6 +70,11 @@ enum
|
||||
// Maximum number of events the I/O thread can process in one go.
|
||||
max_io_events = 256,
|
||||
|
||||
// Maximal batch size of packets forwarded by a ZMQ proxy.
|
||||
// Increasing this value improves throughput at the expense of
|
||||
// latency and fairness.
|
||||
proxy_burst_size = 1000,
|
||||
|
||||
// Maximal delay to process command in API thread (in CPU ticks).
|
||||
// 3,000,000 ticks equals to 1 - 2 milliseconds on current CPUs.
|
||||
// Note that delay is only applied when there is continuous stream of
|
||||
|
||||
Reference in New Issue
Block a user