Re: Django Channels - Throttling/Traffic Management?

2017-08-10 Thread Andrew Godwin
Hi Jamie, I don't use Stack Overflow, so feel free to answer there yourself for posterity. As for the load-balancing bit, what I mean is that because the Channels model is that all workers draw from a single work-queue, there are no balancing artifacts like you can get from a plain round-robin

Re: Django Channels - Throttling/Traffic Management?

2017-08-08 Thread Jamie Counsell
Hey Andrew, Thanks for the prompt response. If you'd like to post this as an answer to the StackOverflow question , that would be great. Otherwise, I will answer my own question. I'm not sure what you

Re: Django Channels - Throttling/Traffic Management?

2017-08-08 Thread Andrew Godwin
Hi Jamie, At the moment Channels has quite limited support for throttling - it pretty much consists of an adjustable channel size for incoming connections which, when full, will cause the server to return a 503 error. Workers are load-balanced based on availability due to the channels design, so

Django Channels - Throttling/Traffic Management?

2017-08-08 Thread Jamie Counsell
Hey folks, I'm working on a Django Channels project and was wondering if there was (or was a roadmap for) features that could help us control load issues at the application level. I asked on StackOverflow