DIY Actors Using Project Loom - Alternatives to Akka for Scala Developers
Offered By: Scala Days Conferences via YouTube
Course Description
Overview
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
Pattern-Oriented Software Architectures: Programming Mobile Services for Android Handheld SystemsVanderbilt University via Coursera Paradigms of Computer Programming
Université catholique de Louvain via edX Introduction to Operating Systems
Georgia Institute of Technology via Udacity Programming Mobile Services for Android Handheld Systems: Content
Vanderbilt University via Coursera Advanced Software Construction in Java
Massachusetts Institute of Technology via edX