Closed fyears closed 6 years ago
Sorry. I did not notice that you have provide a PR as well. The only difference between yours and mine, is I have not changed zmq to zeromq. No idea, whether this change is really necessary. zeromq is a new module. I'm not pretty sure there is good reason to switch
zeromq is under more active maintenance, and most importantly it provides pre-compiled binaries under different platforms (especially, Windows!), which means we even don't need a C++ compiler any more if everything goes well.
Under the hook, zmq and zeromq have insignificant differences.
It would be great to get this merged in given zmq
is no longer maintained.
Could someone review and maybe approve this PR?
I have problem getting the origin repo to work, as msgPack throwing me an error about not being able to find its node binding...maybe c++ thing. Solved with this fork.
Can this PR be merged? Please? :-) On windows installing zerorpc-node is a nightmare. With this little change to zeromq it just works.
Interesting - Python vs Node benchmark (Windows 7): pyserver <- pyclient (10000 hello requests) = 11 seconds nodeserver <- pyclient (10000 hello requests) = 45 seconds
I was trying zerorpc in Windows, it's VERY annoying to configure the
node-gyp
/ C++ compiler environment.Then I tried to find the alternatives:
zeromq.js
is a better alternative tozeromq.node
, and most importantly it provides prebuilt binaries for all major platforms! No need to install c++ compilers!Similarly,
msgpack-lite
is a pure js alternative tomsgpack
using c++ codes. It claims to be faster thanmsgpack
.npm test
seems to have no problems.