This post compares two server threading models: thread-per-connection and thread-per-request. It defines the terms 'connection' and 'request', discusses their implementation in Java web servers, and highlights the advantages and disadvantages of each model. Thread-per-connection involves a dedicated thread for each client

8m read timeFrom feeds.feedblitz.com
Post cover image
Table of contents
1. Introduction2. Connection vs Request Threading Model3. Understanding Thread per Connection4. Understanding Thread per Request5 . Comparison Table6 . Conclusion

Sort: