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

socket.io adapter with nats.io as message system #4294

Closed
distrue opened this issue Feb 26, 2022 Discussed in #4216 · 1 comment
Closed

socket.io adapter with nats.io as message system #4294

distrue opened this issue Feb 26, 2022 Discussed in #4216 · 1 comment

Comments

@distrue
Copy link

distrue commented Feb 26, 2022

It take a while then expected, but finally finish to implement full specification of socket.io adapter!
It's released in https://github.com/distrue/socket.io-nats-adapter/releases/tag/v0.2.0,
and soon benchmark is updated on the repository.

Especially I'm interested in comparing performance between socket.io-redis and socket.io-nats-adapter. When good performance is obtained, considering to apply adapter on enterprise level on channel.io service.

It would be glad to share implementation through the socket.io community and receive opinions to improve it. Can I share this contribution on socket.io adaptar section?

Discussed in #4216

Originally posted by distrue December 16, 2021
Thanks for such a nice project socket.io! Recently I have built socket project with socket.io and socket.io-redis-adapter.

And I have reached to an limitation of building high-availability messaging system since redis single machine is bottleneck of the architecture. I considered redis-cluster to get rid of the problem, but it was unsuccessful to meet my requirement (1) easily auto-scalable and (2) well maintained messaging system client. In the midst of these concerns, I found NATS.io to alternate redis.

Now I am building socket.io-adapter using NATS.io as messaging service.

The project probably be finished within this month, and I want to share the result with the community. Is there a process for sharing project to socket.io community?

@darrachequesne
Copy link
Member

Hi! I've added the adapter in the list there: https://socket.io/docs/v4/adapter/

Thanks a lot for your work on this 👍

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