Introducing Swift Distributed Actors

We’re thrilled to announce a new open-source package for the Swift on Server ecosystem, Swift Distributed Actors, a complete server-oriented cluster library for the upcoming distributed actor language feature!

This library provides a complete solution for using distributed actors in server use-cases. By open-sourcing this project early, alongside the ongoing work on the language feature, we hope to gather more useful feedback on the shape of the language feature and associated transport implementations.

swift.org/blog/distributed-actors/

Apple announced Swift Distributed Actors, a new open-source package for server-side Swift that provides a complete cluster library for the experimental distributed actor language feature, released early to gather community feedback.

Distributed actors extend Swift’s concurrency model to simplify distributed systems programming, offering safety through isolation and async communication, with the library using SwiftNIO for networking and Swift Cluster Membership for node discovery.

The package supports forming clusters, discovering actors via a receptionist pattern, and handling lifecycle events, enabling scenarios like a worker pool that dynamically manages nodes.


Category:

Tag:

Year: