The server implementation is currently written such that it pulls a request off of the loop and processes it. This is fine for a basic implementation, but it should process requests in parallel. It can be a traditional queue/threadpool pattern, or something fancier like a lockless ring buffer, but either way it should handle requests across threads.
The server implementation is currently written such that it pulls a request off of the loop and processes it. This is fine for a basic implementation, but it should process requests in parallel. It can be a traditional queue/threadpool pattern, or something fancier like a lockless ring buffer, but either way it should handle requests across threads.