deepstreamIO / deepstream.io

deepstream.io server
https://deepstreamio.github.io
MIT License
7.14k stars 381 forks source link

Cluster mode #1055

Closed ScreamZ closed 4 years ago

ScreamZ commented 4 years ago

@yasserf Hey,

It's been at least two years that I haven't come here, but I'll need some realtime features provided by deepstream soon :)

I apologize If I missed something, but I wanted to know if you open-sourced the "private" homemade cluster plugin that was supposed to replace the Redis connector at the Deepstreamhub time, otherwise, what do you recommend for clustering in 2020? https://github.com/wehriam/deepstream.io-cluster ?

Thanks

slachtar commented 4 years ago

I think clustering for deepstream, now uses this plugin https://github.com/deepstreamIO/deepstream.io-clusternode-redis

On Thu, Apr 2, 2020 at 2:33 PM Andréas Hanss notifications@github.com wrote:

@yasserf https://github.com/yasserf Hey,

It's been at least two years that I haven't come here, but I'll need some realtime features provided by deepstream soon :)

I apologize If I missed something, but I wanted to know if you open-sourced the "private" homemade cluster plugin that was supposed to replace the Redis connector at the Deepstreamhub time, otherwise, what do you recommend for clustering in 2020? https://github.com/wehriam/deepstream.io-cluster ?

Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/deepstreamIO/deepstream.io/issues/1055, or unsubscribe https://github.com/notifications/unsubscribe-auth/AATKH2TSPZJCH2LGGFMK33LRKSH2BANCNFSM4L2N722Q .

-- Slah Lachtar Tel. (+216) 98 221 575

yasserf commented 4 years ago

hey @ScreamZ

Yeah we only have the redis cluster module (theres also a vertical cluster module for same machine clustering over cores). The cluster interface is extremely minimalistic (https://deepstream.io/tutorials/custom-plugins/cluster-node/)

Basically send, sentDirect and subscribe. All other logic is in deepstream. If you want peer to peer maybe we can update the amazing work done by @wehriam https://github.com/wehriam/deepstream.io-cluster