It's not stable and not ready for production use.

You can build your own version of the NodeJS binding in
czmq/bindings/nodejs.

What needs to be done still is to finish the API so that CZMQ is properly
exported & wrapped. Most things work but it needs someone with NodeJS and
C++ knowledge to deal with some of the remaining tricky parts (like methods
that create new objects).

Then the binding needs to be published to npm, and there's some magic using
the prebuild package so the library is prebuilt for Windows, Linux, OS/X.

-Pieter

On Mon, May 16, 2016 at 8:43 AM, Doron Somech <[email protected]> wrote:

> I'm not sure, try to ask on the czmq github page or take a look at the
> czmq docs/code.
> On May 16, 2016 07:53, "Prasad Ghawate" <[email protected]> wrote:
>
>> Hi Doron,
>>
>>
>>
>> Thanks for your input where can I find the new nodejs binding. Is it a
>> stable version that can be used in production ?
>>
>>
>>
>> Regards,
>>
>> Prasad.
>>
>>
>>
>> *From:* zeromq-dev [mailto:[email protected]] *On
>> Behalf Of *Doron Somech
>> *Sent:* Saturday, May 14, 2016 4:07 PM
>> *To:* ZeroMQ development list <[email protected]>
>> *Subject:* Re: [zeromq-dev] Issue using zmq req-res with nodejs
>>
>>
>>
>> Pieter was working on new nodejs binding out of czmq, maybe you can use
>> that?
>>
>>
>>
>> On Fri, May 13, 2016 at 8:50 AM, Prasad Ghawate <[email protected]>
>> wrote:
>>
>> Hello,
>>
>>
>>
>> I am trying to get help on this past 2 days . We are using default
>> request response Patten for communication between different modules  on the
>> server after first deployment on GCP cloud, while load test we encounter
>> issue where for multiple requests at a time to a modules stops receiving
>> request at some point of time .
>>
>>
>>
>> Following are things we checked for this.
>>
>> 1.       Sample zmq req- response application as mentioned in below
>> email (was able to reproduced the issue, responding module hangs and does
>> not accept further requests.)
>>
>> 2.       Tired adding monitoring for socket event in sample ( didn’t
>> help). https://www.npmjs.com/package/zmq
>>
>> 3.       Found no issues with memory and CPU usages .
>>
>> 4.       Tried Setting up ZMQ_HWM = 0, ZMQ_SWAP etc. for the sample
>> program didn’t helped. http://api.zeromq.org/2-1:zmq-setsockopt
>>
>> 5.       Currently looking at http://zguide.zeromq.org/php:chapter4 for
>> reliable request response Patten .
>>
>>
>>
>> Am I checking in right direction ? please suggest.
>>
>>
>>
>> Regards,
>>
>> Prasad.
>>
>>
>>
>> *From:* Prasad Ghawate [mailto:[email protected]]
>> *Sent:* Thursday, May 12, 2016 11:43 AM
>> *To:* '[email protected]' <[email protected]>
>> *Subject:* Issue using zmq req-res with nodejs
>>
>>
>>
>> Hello,
>>
>>
>>
>> I am using zmq (request- response) with node js everything works well on
>> my development Ubuntu machine. But when i deploy code on Cloud GCP server
>> (Ubuntu). For multiple requests with pause of 100 ms the responder stops
>> receiving  requests. PFA  Please help. I am using npm zmq v 2.15.1 on both
>> dev and cloud server machine. I am using request response example from
>> http://blog.rastating.com/using-zeromq-with-node-js/ For testing with
>> 100 Ms interval instead of 1000 ms .
>>
>> Requester :
>>
>> [image: cid:[email protected]]
>>
>> Responder :
>>
>> [image: cid:[email protected]]
>>
>> Regards,
>>
>> Prasad
>>
>>
>> _______________________________________________
>> zeromq-dev mailing list
>> [email protected]
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>
>>
>>
>> _______________________________________________
>> zeromq-dev mailing list
>> [email protected]
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>
>
> _______________________________________________
> zeromq-dev mailing list
> [email protected]
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to