1👍
As previously answered here: Redis pub sub max subscribers and publishers
There is no hard limit in Redis on maximum number of channels; it is user configurable.
2👍
In order to find the maximum number of channels for your realtime requirement, you need to perform latency profiling and find a agreement on [ number of channels vs your desired latency] . It would be not wise to go with maximum number of channels from intuition as it might not provide fruitful result for your requirement.
Here is a small discussion on redis channels/latency profiling.
Additionally, apart from above you have following two choices to improve performance if required, those are
- Redis Clusters
- Applying Redis logical databases
- [Django]-How can an Ajax callback realize that a user's authenticated session has timed out?
- [Django]-Django admin upload and image to s3 and then resize the image and save a thumb problem
- [Django]-Manage tag with django-select2
- [Django]-Makemigrations does not work after deleting migrations
- [Django]-Dynamically updating values of a field depending on the choice selected in another field in Django
1👍
It totally depends on your server configuration.
A part from number of channel there are other things to consider like number of concurrent socket connection through client browser.
you can refer the below link to understand working of pub/sub in detail
- [Django]-Django method to change User email not working
- [Django]-Is it a bad practice to use sleep() in a web server in production?
- [Django]-What is a main reason that Django webserver is blocking?
- [Django]-Django form doesn't get the value in clean method