17.05.2011, 23:36, "Paul Colomiets" <[email protected]>:

Ok, I'd like to configure applications in the following way:
1. I should have up to 10 connections max (which is very small cluser)  in 10 application sockets (we build applications as many interconnected services)
2. Maximum msg size is 1Mb (which is ok, even for some web pages)
3. HWM should be about 100
Which means I should reserve 10Gb for this application, which under usual load takes less than 1Gb (most messages are 10Kb). When application is designed well, and zerogw has no memory-related asserts, I can set ulimit for application (or run it on 2Gb machine with overcommit turned off), and be sure that when lots of big messages are sent to the application it will be a bit slow for some time, but will not crash, dropping hundreds of messages.
 
I think it is a good point.
Besides HWM calculates number of messages we have to introduce HWM calculates size.
 
 
--
Best regards,
Ilja Golshtein.
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to