[Time] Name | Message |
[04:19] rukubites
|
Hi, I am using the Common Lisp binding for zeromq, and I find the constant value for the socket option ZMQ_LINGER is missing from the binding. What is the number I should plug in?
|
[04:20] rukubites
|
Or at least, where can I find out?
|
[04:22] rukubites
|
Nevermind, I found in the java binding the raw value is 17.
|
[05:53] lionest
|
hello, can anyone help me with a C#
|
[05:55] lionest
|
or with timeouts on Rep/Req sockets?
|
[06:22] lionest
|
anyone here?
|
[08:08] CIA-31
|
libzmq: 03Martin Sustrik 07bidi-pipes * r0b59866 10/ (30 files): Patches from sub-forward branch incorporated ...
|
[09:05] asmodai
|
mmm
|
[09:05] asmodai
|
Should I just log issues wrt non-working examples?
|
[09:10] notostraca
|
asmodai, how bad is the non-working? :-)
|
[09:11] asmodai
|
TypeError: unbound method cython_binding_builtin_function_or_method object must
|
[09:11] asmodai
|
be called with Poller instance as first argument (got Socket instance instead)
|
[09:12] asmodai
|
I think it renders this entire example non-working.
|
[09:13] notostraca
|
yeah, i would bug-report that sure -- not critical, but it still should be taken care of (plus it probably worked at some point, so fixing it should be easy for those who used it when it worked)
|
[09:20] asmodai
|
Weird thing is, the context.socket is what should be the first argument, so why is it raising TypeErrors.
|
[09:24] asmodai
|
Ah no, fixed it. Love how the error message puts you on a side tracl.
|
[09:24] asmodai
|
track.
|
[09:40] sustrik
|
asmodia: still, if there's an bug in an example in guide
|
[09:40] sustrik
|
you should report it
|
[09:40] sustrik
|
so that it can be fixed
|
[09:46] asmodai
|
Nah, the problem lies in error reporting that gets confusing. Missed a () on the Poller, causing it get a class instead of instance passed due to self.
|
[09:46] asmodai
|
Python
|
[09:46] asmodai
|
Woops, one of the Python pitfalls with error messages.
|
[09:47] sustrik
|
i see
|
[10:16] asmodai
|
now to see
|
[10:16] asmodai
|
if I can use zmq for my project
|
[10:16] asmodai
|
or if I need to continue writing my own stack
|
[10:18] asmodai
|
Essentially it boils down to: 1 server that can have multiple server processes going on. Every server process having a bunch of clients connecting. Server sends start command, client all do something, a client will send a command back, upon which the server stops all clients. And then the entire story starts all over again.
|
[10:19] asmodai
|
Gets complicated later on when after x of these iterations I need to pool the clients, randomize them and reassign them to specific processes.
|
[10:22] sustrik
|
what if one client fails?
|
[10:22] sustrik
|
that would block the whole application afaics
|
[10:24] asmodai
|
fails in receiving the message?
|
[10:25] sustrik
|
dies
|
[10:25] sustrik
|
machine goes dead, whatever
|
[10:30] asmodai
|
Crap that would suck
|
[10:30] asmodai
|
I mean, it doesnt matter if one client falls away
|
[10:30] asmodai
|
the rest of the app would continue on
|
[10:39] asmodai
|
guess I need to look at gevent then or continue rolling my own
|
[12:35] nkbreau
|
Anyone kicking around this morning ? I'm having an issue with a RES/REQ and wondering if I'm doing something wrong ... using the java bindings, i have one thread always listening on
|
[12:36] nkbreau
|
a RES port making a recv request every few seconds and another thread pushing on REQ, and if i push requests too soon together (without a 250ms delay between them) the responses come back partially trimmed, incomplete.
|
[12:37] nkbreau
|
I've checked the log in the application serving the responses and the expected response is printed in full in the logs, so i think it relates to zmq somehow. Anyone here have any idea what could be going wrong ?
|
[15:39] pbaelish
|
hi, is there a way to specify the source address outgoing connect() should be using? feels like a stupid question but its always using a random port (for example) while i would like to specify the source address:port to use
|
[16:26] mile
|
evax, I'm trying to optimize some code using erlzmq2
|
[16:27] mile
|
will you have a couple of minutes tomorrow or so, I'd have a question or two..
|
[20:30] asmodai
|
avond pieter
|
[21:15] k0ral
|
I've just built an application that uses OMQ as a Rep agent; how can I easily test it without coding another application acting as a Req ?
|