Single-threaded and Same-threaded designs

Опубликовано: 05 Апрель 2025
на канале: Jakob Jenkov
13,946
418

Single-threaded and same-threaded designs are designs where resources and business logic are only called by a single - or the same - thread. That means the business logic and resource accessing code does not have to worry about concurrency issues.

Chapters:
0:00 Single-threaded design introduction
0:19 First single-threaded server design (bad)
2:40 Two-threaded server design
4:25 Multi-threaded server design
7:33 Two-threaded non-blocking IO server design
12:10 Same-threaded non-blocking IO server design
14:22 Connection load balancing mechanism
14:56 Adding background worker threads to a same-threaded server design
15:59 Single-threaded concurrency


Same-threaded design tutorial - text:
https://jenkov.com/tutorials/java-con...

Java Concurrency Tutorial - Text:
https://jenkov.com/tutorials/java-con...

Java Concurrency - video playlist:
   • Java Concurrency and Multithreading