cascadium / OpenMAMA-zmq

OpenMAMA ZeroMQ Bridge
MIT License
17 stars 8 forks source link

Make pool size parameters configurable #5

Closed fquinner closed 8 years ago

fquinner commented 9 years ago

Including number of nodes to allocate and the size of each node.

fquinner commented 8 years ago

commit e3c6343ce20f38b0cde1cb730583c0858b43a6e0 Author: Frank Quinn fquinn.ni@gmail.com Date: Thu Jun 2 21:41:48 2016 +0100

Added new configuration parameters for message pool and node sizes

I provided sample usage in the configuration:

mama.zmq.transport.sub.msg_pool_size=1024
mama.zmq.transport.sub.msg_node_size=4096

Pool size is in number of nodes and node size is in bytes. A larger
initial pool will mean fewer allocations if the subscriber is likely
to be placed under pressure.