[zeromq-dev] Zeromq 3.2 pub sub in a large production environment

2012-07-18 Thread Susan Tharakan
Hi, I am planning to use zeromq 3.2 pub sub in our production systems and wanted to check with the community. How stable is zeromq 3.2 for production use? Has anybody used it in production systems for pub sub model. For our application the following two requirements are critical 1. Minimize

Re: [zeromq-dev] Socket use from several threads

2012-07-18 Thread moteus
Chuck Remes lists at chuckremes.com writes: Oh, so the threads are short-lived then. In that case, you should create a pool of them and have each thread check out the socket from the pool when it needs to use it and check it back in again when the thread exits. If the pool is protected by a

Re: [zeromq-dev] (no subject)

2012-07-18 Thread Victor Perron
OK. The libstdc++ shared object from the NDK defines very few symbols, around twenty, mostly for what google claims to support: exceptions and such. In order to use the STL, one must use their stlport beta library which I believe is included since NDKr5. The shared object is present on my SGSIII,

Re: [zeromq-dev] Socket use from several threads

2012-07-18 Thread Chuck Remes
On Jul 18, 2012, at 2:49 AM, moteus wrote: Chuck Remes lists at chuckremes.com writes: Oh, so the threads are short-lived then. In that case, you should create a pool of them and have each thread check out the socket from the pool when it needs to use it and check it back in again when

Re: [zeromq-dev] ZeroMQ for Android: Problem in building the Android APK

2012-07-18 Thread Sharon Ben-Asher
Hi, Well, after realizing its an issue with STL, I spent half the day on the net researching Android NDK and C++ STL. Indeed, the default implementation is minimal according to the docs. The issue is really an issue since we are using the Android NDK as standalone compiler. As a full build

Re: [zeromq-dev] ZeroMQ for Android: Problem in building the Android APK

2012-07-18 Thread Sharon Ben-Asher
Forget to mention that I didn't know what you meant by fix those lines How do I fix them? -Original Message- From: Victor Perron vic...@iso3103.net Subject: Re: [zeromq-dev] zeromq-dev Digest, Vol 55, Issue 14 To: ZeroMQ development list zeromq-dev@lists.zeromq.org Message-ID:

Re: [zeromq-dev] ZeroMQ for Android: Problem in building the Android APK

2012-07-18 Thread Victor Perron
I thought, not use 'assign'. But the issue has been reported and discussed in the Zeromq dev list. I changed the Wiki today; you should stick to 2.2 for now, because a proper fix is out of quick reach with 3.x . It's either a lot of changes in the instructions in order to make zeromq use stlport

Re: [zeromq-dev] what are the best practices to send complex objects?

2012-07-18 Thread Andrzej Dworak
Hi Ron, Sure, but, as I said before - I liked both, and both are great. I liked them far more than anything else. So, I don't claim one is better than another. What, in my case, made me chose MP over PB in the end is: 1. I need to send bool, int8,16,32,64, float, double, string, and

Re: [zeromq-dev] A query about implementing aborts in request reply broker

2012-07-18 Thread Ian Barber
On Mon, Jul 16, 2012 at 11:17 AM, aalok sood aa...@ideadevice.com wrote: Thanks for your suggestion Ian. I have a similar model in place, but the issue is how do I find out how many responses are going to come in on my pull socket. In essence, can I somehow find out how many backend workers

[zeromq-dev] 0mq at TheStangeLoop, 23-25 Sept 2012

2012-07-18 Thread Benjamin Henrion
0mq at TheStangeLoop, 23-25 Sept 2012: https://thestrangeloop.com/sessions/software-architecture-using-zeromq -- Benjamin Henrion bhenrion at ffii.org FFII Brussels - +32-484-566109 - +32-2-3500762 In July 2005, after several failed attempts to legalise software patents in Europe, the patent

Re: [zeromq-dev] syncpub/syncsub example losing messages (ZMQ 3.2.0-rc1, Solaris 11)

2012-07-18 Thread Alex Keahan
Alex Keahan akeahan at gbtradingllc.com writes: $ ./syncpub [1] 6611 $ Waiting for subscribers $ ./syncsub A [2] 6612 $ ./syncsub B [3] 6613 $ Broadcasting messages Message mismatch: received 'Msg #1266' expected 'Msg #1001' A: received 1000 updates Message mismatch: received 'Msg