Threads at Scale - Daniel Spiewak
809 subscribers • 3 videos on Hallway
- Recommended by 1 person: 1 in engineering communities.
- Presented by Daniel Spiewak, creator of Cats Effect
Advanced. Deep dive for people who know the field.
7.5K views3 years ago1 recommendation
Systems programmingDistributed systemsConcurrency and parallelismOperating systemsPerformance and optimization
Daniel Spiewak explains how JVM threads interact with hardware, how asynchronous I/O works, and how to improve tail latencies in high-scale services.
Multi-threaded concurrency has been a strength of the JVM since Java 1.2, and its implementation in that runtime has been a major driver behind the JVM’s pervasive adoption in modern, highly distributed, high-RPS backend services. Just about everyone who works on the JVM writes software that fundamentally relies on threads, but very few understand how to conceptualize the performance and tuning implications of this deceptively simple construct. In this talk, we will embark on a journey that takes us from the raw hardware all the way up to effect systems and other high-level userspace abstractions, and along the way, we will discover how threads interact, how asynchronous I/O works (and doesn’t work!), and learn One Weird Trick for dramatically improving tail latencies in almost any I/O bound, high-scale backend service. Visit Sphere.it for more talks from the Sphere.it conf 2022. ✨Why it's here
1 person recommends thisWhat people say. Recommended as an excellent deep dive into JVM concurrency, threading models, and tail latency optimization.
Moments people linked to
u/KagakuNinjain r/scala • Mentions
On “How can I learn the type level , correctness, and compile-time error checking of the scala language?”
u/joel5in r/scala • Mentions
On “Cats-Effect 3.6.0”
u/KagakuNinjain r/scala • Mentions
On “Did you guys think that?”
u/kbn_in r/scala • Mentions
On “Need more knowledge on thread level functionality”
u/KagakuNinjain r/scala • Mentions
On “Scala without effect systems. The Martin Odersky way. ”