YoVDO

Game of Loom - Implementation Patterns and Performance Implications Playing with Virtual Threads

Offered By: Devoxx via YouTube

Tags

Devoxx Courses Java Courses Asynchronous Programming Courses Communication Channels Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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

JavaScript Promises
Google via Udacity
Grand Central Dispatch (GCD)
Udacity
Asynchronous Programming in C# and .NET Core
Microsoft via edX
JavaScript, часть 2: прототипы и асинхронность
Moscow Institute of Physics and Technology via Coursera
Разработка веб-сервисов на Go - основы языка
Moscow Institute of Physics and Technology via Coursera