Cooper Baird
unread,Oct 5, 2020, 9:16:00 PM10/5/20Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pylons-discuss
I am starting to use Waitress, and I am trying to understand how channels and the backlog work, so forgive me for my ignorance if I'm not understanding this correctly. Let's say, hypothetically, that I am using all of the default settings (so 100 connection limit, 1024 backlog capacity, 4 threads, etc.). Let's say 100 users, all using HTTP/1.1 clients, go to the site at once and begin browsing. Does this mean that any additional users (past the 100) that try to browse the site will hit an error or have a connection timeout since the 100 users fill up the channel capacity of 100 (and being HTTP/1.1 clients, all their requests will be served over the same channel, keeping it open)? If this is the case, then does that mean anyone past those initial 100 users will have to wait some time between 30s (cleanup interval) and 120s (channel timeout) to be able to browse? Or is this where the backlog comes in and channels can be reused somehow between users/clients? I apologize if that didn't all make sense. I can clarify anything that was unclear in my thought process/questioning.