The foundational concept in Eventual is the "Service" - aka. a micro-service.
See the Service reference documentation for usage details.
Each Service exposes an Interface consisting of a Synchronous and Asynchronous component:
- Synchronous - APIs that can be invoked.
- Asynchronous - Events that can be emitted and subscribed.
Internally, a Service has Workflows, Tasks and Subscriptions that implement business processes and flows. These can be broken down into two categories:
- Orchestration - Workflows coordinate how services work together by invoking Tasks, starting timers, emitting Events or waiting for Signals.
- Choreography - a collection of Events and Subscriptions passing messages with no centralized controller.
Services can be composed together into service meshes. For example, Services can call another Service's API, or subscribe to Events from another Service. Each Service has its own dedicated infrastructure and can even run in their own AWS account for optimal isolation.
It consists of an API Gateway, an Event Bus, and Workflow engine. The API Gateway is responsible for exposing your business logic through an HTTP REST API, while the Event Bus enables the decoupling of services through the publication and subscription of events. The Workflows execute your business logic and can be triggered by events or API requests.
See the Architecture and Internals documentation for more details.