Replies: 2 comments 1 reply
-
Using Redis is not only about PUB/SUB - it's also about possible message history storage, keeping presence information. I can't say nothing about exact numbers since given only message number is not enough - hardware, features used, latency – everything introduces side-effects. You need to benchmark for your app workload. Also 100k msgs/sec - this can be fan-in messages, which introduce challenges and usually require scaling (more about this case below). Or fan-out number - in that case, it's very simple to scale with Centrifugo - as we showed in our blog 500k msgs/sec were simply achieved with hardware comparable to one modern server machine - and it's far from limit. But some things I know exactly though. Centrifugo supports several models of HA Redis setup:
And some facts:
|
Beta Was this translation helpful? Give feedback.
-
Much appreciate your thorough reply on the subject |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I found the documentation describing different options for setting up HA Centrifugo. Though it's not clear which way of Redis config is preferable.
I found an article 8 years old where it seems that Sentinel was a better choice because of some PUB/SUB limitations of Redis cluster.
What about nowadays? Do you have any recommendations on the backend for Centrifugo if the expected load is somewhere:
Beta Was this translation helpful? Give feedback.
All reactions