Re: [zeromq-dev] Pub/Sub problem using sleep

2012-10-30 Thread Ineil
Thank-you. That makes perfect sense now. I had not appreciated what was going on with the zipcode filtering. Dave. On 29 Oct 2012, at 22:23, Naveen Palli naveen.pa...@aja-tech.com wrote: The server is sending approximately 10 Million messages for the 100 that need to be filtered on the

[zeromq-dev] Pub/Sub problem using sleep

2012-10-29 Thread Ineil
I have recently started to evaluate 0MQ, and as part of this evaluation I was trying the Pub/Sub example (Weather update client server) from the guide. I compiled the C++ version and everything appeared to work fine. I then tried updating the server, to slow down its rate of transmission. I

Re: [zeromq-dev] Pub/Sub problem using sleep

2012-10-29 Thread Chuck Remes
Give us a link (use pastie.org, gist.github.com, etc) of the *exact same* code you are compiling and running. We need to see what you are doing. cr On Oct 29, 2012, at 3:18 AM, Ineil wrote: I have recently started to evaluate 0MQ, and as part of this evaluation I was trying the Pub/Sub

Re: [zeromq-dev] Pub/Sub problem using sleep

2012-10-29 Thread Ineil
The server code is available at: https://gist.github.com/3972502 The server code does not work as posted, but does work with the sleep commented out. The client code comes straight from the zeromq guide. Regards, Dave. On 29 Oct 2012, at 08:22, Chuck Remes li...@chuckremes.com wrote:

[zeromq-dev] Pub/Sub problem using sleep

2012-10-29 Thread Ineil
I have recently started to evaluate 0MQ, and as part of this evaluation I was trying the Pub/Sub example (Weather update client server) from the guide. I compiled the C++ version and everything appeared to work fine. I then tried updating the server, to slow down its rate of transmission. I

Re: [zeromq-dev] Pub/Sub problem using sleep

2012-10-29 Thread Naveen Palli
The server is sending approximately 10 Million messages for the 100 that need to be filtered on the client side [specific zipcode selected randomly among 100,000. The client waits for 100 of them]. If you sleep 1 second in the main server loop it will take forever. If you want to see what is going