Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore new concurrency models on the JVM in this comprehensive conference talk. Delve into the limitations of traditional thread-based concurrency in Java and discover alternative approaches for fine-grained concurrency below the thread level. Learn about Quasar Fibres, Clojure Agents, vert.x Verticles, and Akka Actors, examining their advantages and disadvantages. Gain insights into modern processor architectures, resource management, and the challenges of shared mutable state. Follow along as the speaker demonstrates examples of Fibres, Channels, Go Block, Event Loop, Verticle deployment, and Actor creation. Understand the evolution of concurrency models and their impact on Java development, from the original concept of threads as "lightweight processes" to the current paradigm shift towards more efficient and scalable solutions.
Syllabus
Introduction
Synchronization
Tasks
Callbacks
Syntax for callbacks
Criteria for concurrency models
Fibres
Fibres Example
Advantages and Disadvantages
Channels
Go Block
Event Loop
Verticle
Verticle Utility
Verticle Deployment
Hybrid Threat Model
Creating an Actor
Taught by
Devoxx