You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a question concerning Redis connections that are established with this library.
So, by defining the broadcast object globally like the following from the docs
broadcast=Broadcast("redis://localhost:6379")
This creates and holds a connection to the backend, here redis.
My question is, how does that scale when there are multiple websockets using the shared redis connection? Does all other sockets need to wait for it to be released? Or does the Broadcast object create a connection pool of some sort?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
First, thanks for writing this nice library.
I have a question concerning Redis connections that are established with this library.
So, by defining the
broadcast
object globally like the following from the docsThis creates and holds a connection to the backend, here redis.
My question is, how does that scale when there are multiple websockets using the shared redis connection? Does all other sockets need to wait for it to be released? Or does the
Broadcast
object create a connection pool of some sort?Thank you.
Beta Was this translation helpful? Give feedback.
All reactions