Skip to content

AsyncRedisManager.get_participants() only returns participants from the local instance #1464

Answered by Trinkes
Trinkes asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @miguelgrinberg, thank you for the quick reply!

This made me realize that I need to update the documentation of get_participants() to make it clear that it does not have a way to know the participants in other nodes in the system.

That would be great! Maybe you can also suggest the alternative you've shared.

One option that you have that I often suggest is for the application to keep track of which people are in each room in your database, because computing a complete list of participants is really difficult and inefficient in a distributed environment, this isn't a distributed operation.

I understand, this was more a mismatch of expectation on my side than anything else.
I ended …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Trinkes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants