DIY Actors Using Project Loom - Alternatives to Akka for Scala Developers
Offered By: Scala Days Conferences via YouTube
Course Description
Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore a practical alternative to Akka actors in this conference talk that demonstrates how to create DIY actors using Project Loom. Learn how to implement key features of actors, such as sequential message processing and spawning large numbers of actors on JVM threads, by combining Executors.newSingleThreadExecutor and virtual threads from Loom. Discover how to create a simple ActorRef and Actor API, handle Future callbacks within actors without race conditions, and apply these principles for local state management in non-actor Scala classes. Compare this approach to Akka actors by porting examples and understand how this solution can simplify your code while avoiding licensing issues. While this method may not cover all features of akka-actors like supervision and fault tolerance, it offers a viable option for applications that don't require these advanced functionalities.
Syllabus
Mushtaq Ahmed - DIY Actors using Project Loom
Taught by
Scala Days Conferences
Related Courses
AWS ML Engineer Associate 1.3 Validate Data and Prepare for Modeling (Simplified Chinese)Amazon Web Services via AWS Skill Builder Big Data Analysis with Scala and Spark
École Polytechnique Fédérale de Lausanne via Coursera Build a Question-answering Bot using Generative AI (Indonesian)
Amazon Web Services via AWS Skill Builder Data Science with Scala
Cognitive Class Machine learning with Apache SystemML
Cognitive Class