Re: maximum number of connection using django-channels

2018-03-20 Thread Andrew Godwin
Hi John, It's impossible to give any accurate estimate of performance numbers as it depends so heavily on hardware. Instead, I can point out to you likely bottlenecks: - Each instance of Daphne can only terminate so many connections. I would hope this is above 1000 on any reasonable machine. - Ea

Re: maximum number of connection using django-channels

2018-03-20 Thread John Carrell
Can I please ask a clarifying question? You examples above ("if you had 1 clients...") spoke to clients sending the messages. I have a use case where the clients are never (at the moment) sending messages but rather listening for messages from the server. When the server has something to sa

Re: maximum number of connection using django-channels

2017-03-02 Thread Andrew Godwin
Hi, There's more about how Channels works in the docs and in talks I've given, but the short version is: * Websockets go into a server called Daphne, which is written in Twisted and so can handle hundreds or potentially thousands of simultaneous connections open at once * Any event on a websocket