Multithreaded Servers in Java

Jakob Jenkov
Last update: 2021-11-02

This trail is about implementing multithreaded servers in Java. Because of Java's built-in multithreading capabilities multithreaded servers are reasonably easy to implement. But not all server designs are equal. This trail will take a look at different server designs and discuss their pros and cons.

If you are new to Java multithreading there is an extensive tutorial here on
Java Concurrency / Multithreading.

This trail on multithreaded servers in Java is still work in progress.

Single-threaded and Same-threaded Server Designs - Tutorial Video

If you prefer video, I have a video explaining the most common single-threaded, multithreaded and same-threaded server designs here: Single-threaded and Same-threaded Designs

Single-threaded and Same-threaded Designs

Jakob Jenkov

Featured Videos















Core Software Performance Optimization Principles




Advertisements

High-Performance
Java Persistence
Close TOC

All Trails

Trail TOC

Page TOC

Previous

Next