IRC Log

Saturday November 5, 2011

[Time] NameMessage
[08:58] CIA-79 libzmq: 03Martin Sustrik 07master * ra756956 10/ src/socket_base.cpp : Use identities in inproc transport ...
[09:11] CIA-79 libzmq: 03Martin Sustrik 07master * r21a0b49 10/ include/zmq.h : Obsolete ECANTROUTE errror code removed ...
[09:20] CIA-79 libzmq: 03Martin Sustrik 07master * rfe81827 10/ include/zmq.h : Version changed to 3.1.0 ...
[10:16] clintongormley hi all, i'm trying to install jzmq to my maven local repository. Everything seems to go fine, then it starts running the tests, and hangs on the first one: "Running org.zeromq.ZContextTest"
[10:16] clintongormley any ideas?
[10:17] clintongormley I'm afraid I know zero about java or maven - i'm trying to install this so that I can build the zeromq plugin for elasticsearch
[10:23] sustrik clintongormley: no idea what's wrong, however, what I would do is to skip the tests and proceed with development
[10:23] sustrik while at the same time reporting the problem in jzmq bug tracker
[10:23] clintongormley sustrik: i looked for an option to skip the tests, but nothing leaped out at me
[10:23] clintongormley :)
[10:24] clintongormley is this an option i pass to mvn?
[10:24] clintongormley btw, i'm doing: mvn install - is that the correct thing to do to install to my local repo?
[10:31] sustrik no idea, sorry
[10:31] sustrik try asking on the mailing list
[10:32] clintongormley sustrik: thanks anyway :)
[10:39] CIA-79 libzmq: 03Martin Sustrik 07master * r6503716 10/ tests/test_timeo.cpp : Minor typo corrected ...
[15:06] CIA-79 libzmq: 03Martin Sustrik 07master * rbb66f3c 10/ (src/mtrie.cpp src/trie.cpp): Bug in trie fixed (issue 277) ...
[15:20] jhawk28 sustrik, glad you added the identities back
[15:24] sustrik note that it's only half of the functionality
[15:24] jhawk28 yes, I lknow
[15:24] sustrik :)
[15:24] jhawk28 it means I dont need to store the identities
[15:24] jhawk28 or if I do, I can get the identity from another socket and use the routing capabilities
[15:24] jhawk28 without storing the socket reference
[15:25] jhawk28 Im finding that the ability to lose messages lowers latency and makes a more robust system
[15:26] jhawk28 since you bake the requirements into the protocol (for the app) rather than the endpoint
[15:27] jhawk28 it means something like a WSDL like functionality is too simplistic
[15:29] jhawk28 I think the only thing that is still clunky is the lack of a timeout on the recv
[15:30] jhawk28 I know it can be achieved using the Poller, but its alot of extra code when you just have a single socket
[15:31] jhawk28 makes it hard for something like a REQ client and retrying after timeout
[15:32] trax- hi all
[15:33] jhawk28 hello
[15:37] trax- I am very new to 0MQ, and was wondering if there was a "good way" to send struct over the bus?
[15:37] trax- Multipart ? or serialising and one send ?
[15:38] fredix hi
[15:41] fredix is it possible to use two ZMQ_PULL socket which bind two different port but on the same context ?
[15:46] sustrik jhawk: try RCVTIMEO socket option :)
[15:46] sustrik trax-: you need a serialisation library
[15:47] sustrik such as google protobufs or similar
[15:47] jhawk28 protobuf is a good choice
[15:47] sustrik fredix: yes
[15:47] jhawk28 Ill look into it sustrik
[15:47] sustrik jhawk28: allows you to set receive timeout
[15:47] trax- sustrik: thanks
[15:53] fredix sustrik: ah, when I try it tell me that :
[15:53] fredix terminate called after throwing an instance of 'zmq::error_t'
[15:53] fredix what(): Adresse déjà utilisée
[15:53] fredix sustrik: mean : address already used
[15:57] fredix sustrik: in fact I suppose that it failed when I try to bind the same inproc z_workers.bind ("inproc://workers");
[16:01] jhawk28 sustrik: the ironic thing about the RCVTIMEO is that I was the one who added it to the JZMQ bindings
[16:05] sustrik jhawk28: heh
[16:05] sustrik fredix: you can't bind twice to the same address
[16:05] fredix sustrik: I can't bind the same address on different port ?
[16:06] sustrik you can
[16:06] sustrik i meant same "endpoint"
[19:10] fredix sustrik: are you a core developer ?
[19:12] sustrik fredix: yes
[19:14] fredix sustrik: great, I just want to tell you that I'm very happy with zeromq, I'm using it on my opensource projet http://www.nodecast.net/main/overview
[19:15] sustrik thanks!
[19:28] Deepak_Deepak Hello
[19:29] Deepak_Deepak Anyone here can help me with a issue running a java Subscriber??
[19:30] Deepak_Deepak Assertion failed: rc == 0 (..\..\..\src\zmq_connecter.cpp:48)
[19:30] Deepak_Deepak Searching on the web has not provided a solution.. I am just running the tutorial fromt he guide
[19:33] Alfred Hi guys, i have another question about compiling zmq cpp's, until an hour ago i compiled those cpp's with "g++ hwserver.cpp -libzmq -o server.o" and it all worked nice. Then a updated my ubuntu to latest version 11.10 or so and until the reboot, if i type the same command i get the following: /usr/bin/ld: cannot find -libzmq . Does anybody know why it doesnd work anymore ?
[19:34] sustrik Deepak_Deepak: probably a bad address string
[19:36] Deepak_Deepak Yes that what I was checking
[19:36] Deepak_Deepak so I was previously connecting the push socket to tcp://localhost:5001 and the same for the Pull socket
[19:36] Deepak_Deepak is that correct?
[19:37] Deepak_Deepak Or the push has to be tcp://localhost:5001 where as the pull has to be tcp://*:5001?
[19:44] Deepak_Deepak Looks like the pull has to have tcp://*:5001 and the push has to be tcp://localhost:5001. Why is this the case. If i always will run the pull and push component on the same server
[19:44] Deepak_Deepak and I dont want to maintain two configs....
[19:54] Deepak_Deepak Any help for the above question..
[20:15] rgl I've noticed that libzmq internally creates an sys://log socket. what it is used for?
[20:19] V Hi there
[20:20] V um. I have a zeromq-windows-ruby question here. Is it ok?
[20:34] Alfred Hi guys, i have another question about compiling zmq cpp's, until an hour ago i compiled those cpp's with "g++ hwserver.cpp -libzmq -o server.o" and it all worked nice. Then a updated my ubuntu to latest version 11.10 or so and until the reboot, if i type the same command i get the following: /usr/bin/ld: cannot find -libzmq . Does anybody know why it doesnd work anymore ?
[20:41] Alfred ok Ignore what i just wrote, i just have to write lzmq not libzmq xD
[21:01] mikko Deepak_Deepak: you cannot connect by hostname
[21:01] mikko Deepak_Deepak: sorry, bind by hostname
[21:01] mikko Deepak_Deepak: tcp://127.0.0.1:5001 will work
[21:24] sunoano I am trying pyzmq 2.1.10 on Python trunk http://paste.pocoo.org/show/503504/ is this a known issue?
[21:25] Rotham hey
[21:26] sunoano hm, looks like it's this one https://github.com/zeromq/pyzmq/pull/133
[21:27] sunoano guess I also have to rebuild libzmq and pyzmq then rather than using the current stable version from PyPI resp. libzmq as shipped by Debian
[21:31] temoto http://www.xump.org/ has broken link to github repo
[21:36] Rotham hey.. is it worth using something like zeromq to coordinate between processes on a single computer?
[21:36] Rotham or would it be easier/faster/more efficient to just use pipes?
[21:42] temoto Rotham: it probably depends on how well you know pipes.
[21:42] Rotham not at all
[21:42] Rotham lol
[21:42] Rotham first time doing a project like this one
[21:43] temoto Like what?
[21:43] Rotham its python so it isnt too dificult to learn anything in my experience, but pipes do look like one of the mroe complicated things ive seen
[21:43] Rotham multiprocessing from scratch
[21:44] temoto You could just use multiprocessing module in 2.6+ stdlib or ipython clustering facilites for that.
[21:48] Rotham cool thanks
[22:52] jhawk28 deepak_deepak: did anyone answer your questions?