Since you use an event loop as opposed to threads, what does a real server look like?
I know that it uses an event loop, but how do you separate the requests? And how do you stop your server from working very slowly (since, I suppose, it can only push one thing at a time, since it is threadless?)
Some kind of pseudo code would be great.
Forgive my ignorance; of course, if something explains it in a non-basic “it's good enough until you get 1000 visitors”, I would be happy to know about it.
source
share