When was the last time you run any production code on single-core CPU? And even if, was it a single-threaded code? We shield ourselves from threads with layers of abstractions that promise to take care of everything. nevertheless it is frequently impossible to talk about the application without knowing the underlying thread model. During this talk i would like to get back to basics. Where does the JVM take threads from? How much a thread cost? How do the threads interact and is my CPU any different from distributed system? Why do we make thread pools and how to control them? How many (and what) threads are there in typical app? You will find answers to those questions on my presentation.
GeeCON Prague 2019: Adam Dubiel - Back to basics: threads
When was the last time you run any production code on single-core CPU? And even if, was it a single-threaded code? We shield ourselves from threads with layers of abstractions that promise to take care of everything. nevertheless it is frequently impossible to talk about the application without knowing the underlying thread model. During this talk i would like to get back to basics. Where does the JVM take threads from? How much a thread cost? How do the threads interact and is my CPU any different from distributed system? Why do we make thread pools and how to control them? How many (and what) threads are there in typical app? You will find answers to those questions on my presentation.