Bent Cardan

Results 104 comments of Bent Cardan

why are you setting sockopt limits for xpub and xsub? Just curious

oh i've never had to set that it's never dropped messages for me

either way i'll start looking into this issue today

@esatterwhite, would you pls run: ``` bash $ pkg-config --modversion libzmq ``` and let me know what prints

> zmq 4.0 added support for multipart messages via the xpub / xsub socket types. you said this in https://github.com/JustinTulloss/zeromq.node/issues/274 and I agree. I think without 4+ you'll have trouble...

fair enough. keep the issue open, l'll dig further into this

looks like you're dropping messages in the xsub's onmessage callback. I forked your gist and made the following adjustment to illustrate exactly where the message loss is: https://gist.github.com/reqshark/38bb0d1c301025374d98#file-proxy-js-L42-L47 are we...

> I'm just trying to understand where the problem is. I dont think there is a problem. if anything your use case is a good argument to enhance our JS...

the `zmq_proxy()` method might help here with your use case but also keep in mind: the connections are isomorphic, it doesnt matter who does `bind()` or `connect()` for example: ```...

@prdn > It shouldn't be difficult to change from eventemitter to streams. easier said than done, but I think you're correct. because node streams inherit from `EventEmitter` with `readable`, `data`,...