Overview
WIP. The eigr.io documentation is a work-in-progress right now.
Abstractβ
Serverless runtimes are often hidden in a cloud providers offering and exposed solely by their programming API and deployment procedures. eigr.io is an open-source serverless runtime built for the cloud and on-premises, running on the BEAM with a polyglot programming model to build general purpose applications.
Key Pointsβ
- The eigr/functions project is no fork of Cloudstate but based on a new implementation of the Cloudstate protocol.
- The technical basis for project eigr is Erlang/OTP and the BEAM-VM.
- Developer Libraries are intended to be compatible with Cloudstate and Akka Serverless.
Function as a Service (FaaS)β
βββββββββββββββββ βββββββββββββββββββββ βββββββββββββββββ
β β β β β β
β Message In βββββΆβ Service βββββΆβ Message Out β
β β β β β β
βββββββββββββββββ βββββββββββββββββββββ βββββββββββββββββ
"message in, message out" β BonΓ©r, 2020, "CloudStateβTowards Stateful Serverless"
Stateful Servicesβ
State is brought to the incoming message right at the time the message passed to the service and even before the service handles that message. This is possible by state-models that are abstracted in a way so that state can be lifted to a context available to a service that has chosen the very state-model.
βββββββββββββββββ βββββββββββββββββ
β βββ βββΆβ β
β Message In β β βββββββββββββββββββββ β β Message Out β
β β βββΆβ βββ β β
βββββββββββββββββ β Service β βββββββββββββββββ
βββββββββββββββββ βββΆβ βββ βββββββββββββββββ
β β β βββββββββββββββββββββ β β β
β State In βββ βββΆβ State Out β
β β β β
βββββββββββββββββ βββββββββββββββββ