node-qrpc icon indicating copy to clipboard operation
node-qrpc copied to clipboard

What is the status of this node-qrpc?

Open jacoscaz opened this issue 4 years ago • 5 comments

Hello! I'm evaluating different RPC libraries for a new projects and came across qrpc via NPM, which looks really nice (kudos to you @andrasq). The last published version on NPM dates back to 4 years ago but commit activity here on GitHub suggests that the library is still being somewhat maintained. Test targets in the .travis.yml file cover up to Node.js 15.x, also another indicator of life. What is the general status of node-qrpc? Is it being actively maintained?

jacoscaz avatar Feb 09 '21 10:02 jacoscaz

Hi, I haven't abandoned qrpc, been working on other projects (database drivers, data serialization, currently pubsub). Qrpc is one of my favorites, so if you have questions or need features I would gladly help.

andrasq avatar Feb 09 '21 16:02 andrasq

Hello!

Good to know that qrpc is still maintained, thank you for getting back to me so quickly. I actually enjoy stable modules without too much activity on them, I think stability is a highly underrated features.

May I ask what your perspective is on Typescript and whether you have plans to add type-safe support to qrpc?

Best regards, Jacopo.


Jacopo Scazzosi

On 9 Feb 2021, at 17:20, Andras [email protected] wrote:

Hi, I haven't abandoned qrpc, been working on other projects (database drivers, data serialization, currently pubsub). Qrpc is one of my favorites, so if you have questions or need features I would gladly help.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

jacoscaz avatar Feb 10 '21 07:02 jacoscaz

Hi Jacopo, you mean support as in adding a .d.ts file with types and call signatures? That sounds fine, it shouldn't be too hard to cover the major subsystems. Andras

andrasq avatar Feb 10 '21 17:02 andrasq

You can also port to .ts and have typescript compile down to .js and .d.ts type files. What about browser support ?

MarcWeber avatar Feb 18 '21 02:02 MarcWeber

True, could rewrite it, but would be a lateral move at best. Adding typing offers more bang for the buck. As to browser support, I figured I could contribute to fast non-blocking server-to-server (or server-to-multi-tenant-client) communication. I don't know enough about the browser side to understand how a browser would run services, or how to multiplex calls onto a raw tcp/ip socket, how to make it portable, or even whether that would be faster than, say, simply batching calls.

andrasq avatar Feb 18 '21 03:02 andrasq