[zeromq-dev] Releasing RAM in Chunks
Anatoly
tolitius at gmail.com
Mon Jul 2 20:48:09 CEST 2012
ØMQ Crowd,
Reading messages from a socket, placing them on the zmq (PUSH). On the other side reading messages of off the queue (PULL) and persisting them in to DB.
If we get millions of messages, ØMQ takes X GB of RAM (since the pushing in this case is at much higher speed than pulling that waits for a DB for each pull), and does not release these Gigs until ALL of the messages are consumed (e.g. pulled).
Is there a way to configure it to release memory in chunks as the queue is being emptied?
Thank you,
/Anatoly
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120702/410882f6/attachment.htm>
More information about the zeromq-dev
mailing list