I have a question that bothers me. For example, I have a multithreaded server, when it receives a request, it passes this request to the handler, this handler will process this request. One of the reasons why we do multithreading the server: if it is not multithreaded, when the server processes this request during a time value, another request, then this request will be deleted, since the server is now unavailable.
So, I wonder if there is an alternative to a multithreaded server, for example, can we create a queue for a server without multithreading? when he can receive another request from the queue after its completion.
user707549
source share