Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Qeustion] Why there is not a cross-language NNG-RPC lib (just like zerorpc) #101

Open
mo-han opened this issue Mar 22, 2022 · 1 comment

Comments

@mo-han
Copy link

mo-han commented Mar 22, 2022

was trying to find a rpc framework to use between electron (node.js) and python.
some articles suggest zerorpc, but npm install zerorpc keeps failing.
some answers on internet tell to use zeromq directly, instead of zerorpc (seems like there's some issue for npm install zerorpc).
then i decide to use nanomsg instead of zeromq.
during this, realize there is not such a cross-language rpc lib based on nng (in opposite, zeromq has zerorpc)

i'm quite new to nng, is it because nng already has built in REQ/REP pattern and it's so easy for users to implement custom RPC components on this pattern so there's no need to provide a nng-rpc anymore?

@westbywest
Copy link

It was straightforward for me to implement JSON-RPC atop pynng/asyncio transport using jsonrpcserver and jsonrpcclient from pypi. There are JSON-RPC 2.0 clients available in javascript, etc, which you could use for the non-python side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants