Skip to main content
Version: 2.0.x

Introduction to ZIO Actors

ZIO Actors - a high-performance, purely-functional library for building, composing, and supervising typed actors backed by ZIO.

The Actor Model is used to build distributed highly scalable applications. The core concept behind the actor model is the ability to create multiple actors which run concurrently. The actor would receive a message do some computation on the message and then output a new message. Each actor runs independently of each other with no shared state between them and as such failure of one actor won't have an affect on the running of another. In its simplest form the goal of this project is to provide the ability to write actors in Functional Way that are typed leveraging ZIO.

Here's list of contents available:

  • Basics — Instantiating ActorSystem, defining actor's behavior, spawning actors.
  • Supervision — Short description of supervision functionality usage
  • Remoting — Defining remoting configuration, usage example, restrictions
  • Persistence - Event sourcing mechanism, datastore configuration
  • Akka Interop - Integration with akka typed actors.


Include ZIO Actors in your project by adding the following to your build.sbt:

libraryDependencies += "dev.zio" %% "zio-actors" % "0.1.0"