Re: [zeromq-dev] Compilation fails when NDEBUG is enabled.

2012-08-23 Thread Arthur O'Dwyer
On Thu, Aug 23, 2012 at 3:53 PM, Arthur O'Dwyer wrote: > On Thu, Aug 23, 2012 at 3:29 PM, Chernyshev Vyacheslav wrote: >> >> #1 zmq::ctx_t::monitor_event () at ctx.cpp:405 >> #2 zmq::socket_base_t::monitor_event () at socket_base.cpp:1004 >> #3 zmq::session_base_t::monitor_event () at session_

Re: [zeromq-dev] Compilation fails when NDEBUG is enabled.

2012-08-23 Thread Pieter Hintjens
If you read the contribution process, you'll see that maintainers don't verify patches for content, only form. Our goal is to get your changes into master as soon as possible so you and others can test them immediately. It's actually more effective than playing gatekeeper. Pieter On Aug 23, 2012 1

Re: [zeromq-dev] pear.zero.mq down?

2012-08-23 Thread Mikko Koppanen
On Fri, Aug 24, 2012 at 9:44 AM, Ben Scharp wrote: > Greetings, > > The http://www.zeromq.org/bindings:php page says that the PHP zeromq > binding can be obtained/built via PEAR at pear.zero.mq. This resource > appears to be unreachable. If it truly is down, is it going to return? Or > is the onl

[zeromq-dev] pear.zero.mq down?

2012-08-23 Thread Ben Scharp
Greetings, The http://www.zeromq.org/bindings:php page says that the PHP zeromq binding can be obtained/built via PEAR at pear.zero.mq. This resource appears to be unreachable. If it truly is down, is it going to return? Or is the only way to obtain the binding through GitHub? I'd like to install

Re: [zeromq-dev] Compilation fails when NDEBUG is enabled.

2012-08-23 Thread Arthur O'Dwyer
On Thu, Aug 23, 2012 at 3:29 PM, Chernyshev Vyacheslav wrote: > > #1 zmq::ctx_t::monitor_event () at ctx.cpp:405 > #2 zmq::socket_base_t::monitor_event () at socket_base.cpp:1004 > #3 zmq::session_base_t::monitor_event () at session_base.cpp:293 > > What this code does is passing va_list as a p

Re: [zeromq-dev] Compilation fails when NDEBUG is enabled.

2012-08-23 Thread Chernyshev Vyacheslav
Yeah, and there are still issues with this test, checked it right now. First, zmq_bind splits its argument into 2 parts: protocol and address ("tcp" and "127.0.0.1:5560" in our case). zmq::tcp_listener_t::set_address function receives already stripped address part, so comparison will fail again.

Re: [zeromq-dev] Handling network failures in parallel pipeline ventilator?

2012-08-23 Thread Andrew Hume
repeat after me: a load-balancing fair-share message routing system is NOT a job scheduler. it nearly can do a related thing, but its not. there are several ways to do this; i'm sure teh guide covers a couple. i would normally handle this one of two ways: a) if tasks are expensive, then

Re: [zeromq-dev] Compilation fails when NDEBUG is enabled.

2012-08-23 Thread Arthur O'Dwyer
Hi Chernyshev, Actually I have already posted a pull request for the test_monitor issue, and it has already been pulled by ianbarber! Thanks to ianbarber for those pulls --- although I'm slightly disturbed by the fact that they happened like 30 seconds after I posted the requests. That doesn'

Re: [zeromq-dev] Compilation fails when NDEBUG is enabled.

2012-08-23 Thread Chernyshev Vyacheslav
Oh, nevermind. Test case was fixed. My bad. ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] Compilation fails when NDEBUG is enabled.

2012-08-23 Thread Chernyshev Vyacheslav
Thank you. What do you think about other problems in test_monitor? I will partially repeat my message posted in thread "Reporting make check error". Do not want to create a pull request without discussing this issue with others, even if it seems that issue is really present. First, memcmp retur

[zeromq-dev] Handling network failures in parallel pipeline ventilator?

2012-08-23 Thread Joe Planisky
I'm a little stumped about how to handle network failures in a system that uses PUSH/PULL sockets as in the Parallel Pipeline case in chapter 2 of The Guide. As in the Guide, suppose my ventilator is pushing tasks to 3 workers. It doesn't matter which task gets pushed to which worker, but it's

Re: [zeromq-dev] Compilation fails when NDEBUG is enabled.

2012-08-23 Thread Arthur O'Dwyer
On Tue, Aug 14, 2012 at 2:37 PM, Arthur O'Dwyer wrote: > On Tue, Aug 14, 2012 at 1:39 PM, Chernyshev Vyacheslav wrote: >> >> In recent git master tree there are 2 tests with issues that cause >> compilation errors if warnings are treated as errors and NDEBUG is >> defined during compilation. > [.

[zeromq-dev] Java NIO selector minimum possible latency

2012-08-23 Thread Julie Anderson
Hi, I am doing some benchmarks with an optimized Java NIO selector on Linux over loopback (127.0.0.1). My test is very simple: - One program sends an UDP packet to another program that echoes it back to the sender and the round trip time is computed. The next packet is only sent when the previou

Re: [zeromq-dev] Talk about ZeroMQ

2012-08-23 Thread Andrea Crotti
On 08/23/2012 08:06 PM, Pieter Hintjens wrote: > On Thu, Aug 23, 2012 at 7:40 PM, andrea crotti > wrote: > >> What do you think? >> Anything I can have a look at? > There are a lot of multithreading examples in the Guide. > > If you want to introduce 0MQ, consider this sketch: > http://www.zeromq.

Re: [zeromq-dev] ZMQ3.2: Error in ARM/Thumb2 assembly (atomic_ptr.hpp)

2012-08-23 Thread Pieter Hintjens
Hi Arthur, > Okay, so now that I've filed this bug (and proposed patch), how do I > get someone to respond to it? You make a github pull request to libzmq (and zeromq3-x), and one of the several kind maintainers will press the Merge button, and your patch will make it into the codebase. Since you

Re: [zeromq-dev] Talk about ZeroMQ

2012-08-23 Thread Pieter Hintjens
On Thu, Aug 23, 2012 at 7:40 PM, andrea crotti wrote: > What do you think? > Anything I can have a look at? There are a lot of multithreading examples in the Guide. If you want to introduce 0MQ, consider this sketch: http://www.zeromq.org/topics:omq-is-just-sockets -Pieter

Re: [zeromq-dev] ZMQ3.2: Error in ARM/Thumb2 assembly (atomic_ptr.hpp)

2012-08-23 Thread Arthur O'Dwyer
Okay, so now that I've filed this bug (and proposed patch), how do I get someone to respond to it? Obviously we'd prefer someone to accept the patch. Even for the maintainer to say "Sorry, ZMQ is not tested on Thumb2 and we're not interested in supporting it" would be a helpful result. https

[zeromq-dev] Talk about ZeroMQ

2012-08-23 Thread andrea crotti
Hi everyone, I'm not 100% sure yet but in the next PyConUK (http://2012.pyconuk.net/) I should give a talk about zeromq.. I decided to propose it because I was going to learn it for work, and I hope I'll be ready for the end of September. Anyway suggestions are welcome, and it would be nice if I

Re: [zeromq-dev] Need help in creating multiple publisher and subscribers

2012-08-23 Thread girish kumar
Thanks for your patience. I hope, I can ask you questions which are not basic henceforth. On 23 August 2012 18:02, Chuck Remes wrote: > On Aug 23, 2012, at 4:21 AM, girish kumar wrote: > > > >> Typically, we do zero MQ bind to a port in publisher code. But, in > this case how to bind the multipl

Re: [zeromq-dev] Android UnsatisfiedLinkError

2012-08-23 Thread Will Heger
First an update, I tried the 2.2 build from a virgin machine (also Debian 64bit) yesterday. I encountered strange build problems along the way, I think automake related, but I was able to copy config/config.sub files from my original attempt and finally... I got a working .so and .jar I'm sor

Re: [zeromq-dev] Need help in creating multiple publisher and subscribers

2012-08-23 Thread Chuck Remes
On Aug 23, 2012, at 4:21 AM, girish kumar wrote: > >> Typically, we do zero MQ bind to a port in publisher code. But, in this > >> case how to bind the multiple publisher threads on to the same port. This > >> is fine with subscriber threads as they simply do zero MQ socket connect. Use a FORWA

Re: [zeromq-dev] jeromq - java pojo zeromq

2012-08-23 Thread Pieter Hintjens
On Thu, Aug 23, 2012 at 12:07 PM, Victor Perron wrote: > I have a question (for you or others who may know) : is jeromq compatible > then with the main push/pull, pub/sub methods of ZeroMQ via TCP, towards a > v2.2 client or server ? > > I think I have seen somewhere that the 3.x compatibility ha

Re: [zeromq-dev] jeromq - java pojo zeromq

2012-08-23 Thread Victor Perron
Dear Min, I have a question (for you or others who may know) : is jeromq compatible then with the main push/pull, pub/sub methods of ZeroMQ via TCP, towards a v2.2 client or server ? I think I have seen somewhere that the 3.x compatibility had been resolved in libzmq, so that a 3.x and a 2.2 endp

Re: [zeromq-dev] Need help in creating multiple publisher and subscribers

2012-08-23 Thread girish kumar
Hi Thanks for your response. On 22 August 2012 18:31, Chuck Remes wrote: > On Aug 22, 2012, at 2:17 AM, girish kumar wrote: > > > Hi All, > > > > We have started recently working on zero MQ. We could able to run the > sample applications successfully. > > > > We have two problems, which we are f

Re: [zeromq-dev] jeromq - java pojo zeromq

2012-08-23 Thread jonas . adler
Hi! I added the suggested line and it is working perfectly now, once more, thank you a lot! You saved me weeks of work and issues! //Jonas > Hello, > > If you don't set SUBSCRIBE, sub socket will block. > > please add the following line before connect. > > subscriber.subscribe("") // please

Re: [zeromq-dev] Android UnsatisfiedLinkError

2012-08-23 Thread jonas . adler
I worked on getting zmq working on android using jeromq today, and i got it working perfectly with no issues using the latest sources from git ("tcp://els-mifr-00:61723"). Simply add the sources to a android project and compile, worked on second try (forgot internet permissions on first, doh). I h