Game of Loom - Implementation Patterns and Performance Implications Playing with Virtual Threads
Offered By: Devoxx via YouTube
Course Description
Overview
Explore the implementation patterns and performance implications of virtual threads in Java through a unique lens - Conway's Game of Life. Dive into the potential game-changing impact of virtual threads on the Java ecosystem, comparing their scalability and simplicity to traditional asynchronous programming models. Investigate the true costs of creating and scheduling thousands or even millions of virtual threads, examining memory impact, context switching frequency, and potential cache misses. Learn through a practical implementation of the Game of Life based on the communicating sequential processes (CSP) model, comparing virtual and native thread performance across different algorithms. Gain valuable insights and rules of thumb for effectively utilizing virtual threads in your Java projects, understanding their strengths and potential pitfalls in various scenarios.
Syllabus
Introduction
Why virtual threads
Memory footprint
Do you really want this
Why virtual thread
Blocking call
Context switch
Not preemptive
Communication channel
Frame graph
Channel implementation
Conclusions
Taught by
Devoxx
Related Courses
Play by Play: Developing Microservices and Mobile Apps with JHipsterPluralsight Software Archaeology - Learning from the Landing on the Moon
Devoxx via YouTube Create an Eco-Friendly World with Green Software Engineering
Devoxx via YouTube Platform Building for Data Mesh - Show Me How It Is Done
Devoxx via YouTube The Hitchhiker's Guide to Software Architecture and Design
Devoxx via YouTube