- Engine: The core of iii. It is the engine that powers the iii architecture.
- Workers: The core workers that make up the iii architecture.
- Adapters: The adapters that connect the iii architecture to the outside world. See Adapters for details.
Engine
The engine is the orchestration layer. Responsible for connecting the workers to SDK workers.Core Workers
Built with Rust for exceptional speed and memory efficiency, Core Workers deliver top-tier performance. Examples of Workers:- HTTP Worker: Expose functions as HTTP endpoints.
- Stream Worker: Durable streams for real-time data subscriptions.
- Queue Worker: Topic-based message queuing with retries and DLQ.
- PubSub Worker: Topic-based publish/subscribe for real-time events.
- Cron Worker: Schedule functions with cron expressions.
- Observability Worker: Traces, metrics, logs, and alerts (OpenTelemetry).
How to configure the Engine
Let’s use the Stream Worker as an example. The following file is the main configuration file for iii. Add it to your project asiii-config.yaml and iii will automatically load the workers and adapters.
redis adapter.
We can configure the Redis URL to use for the Redis adapter.