News for hackers. Stuff that matters.
Re:I recommend CGI instead of web frameworks by samus on Monday August 23, 2021 @01:26AM (#28272574)
Usually you have a thread pool (threads have startup costs too), monitor the server socket and assign incoming connections to one of the worker threads. Nonblocking architectures that do everything in a single thread also exist.

It's very common even to do this: just use Apache `mod_proxy` (or something more specialised) to forward requests to a backend server such as Apache Tomcat.

There are no comments on this comment yet.