The Executor/Worker Split: The Design Decision Behind Kestra's Distributed Architecture
Blog post from Kestra
Kestra's deployment model, particularly for enterprise customers, revolves around a clear understanding of its four main components: the webserver, scheduler, executor, and worker, each of which plays a distinct role in managing workflow execution and scaling. The webserver handles UI and API requests, the scheduler monitors triggers to initiate execution events, the executor coordinates the workflow's execution logic without making external calls, and workers execute tasks by interacting with external systems. Deployments typically run on Kubernetes, allowing for scaling and failover through multiple replicas of each component, with tuning primarily focusing on the executor and worker counts as load increases. Kestra's flexibility extends to multi-region, hybrid, and hardware-specific deployments, with worker groups facilitating task routing across different infrastructures, ensuring compliance with data residency requirements and optimizing resource utilization. The system can scale from standalone development setups to extensive distributed deployments, with PostgreSQL as the standard backend, upgradeable to Kafka and Elasticsearch for higher throughput and execution history management. This open-source platform offers a unified orchestration backbone that can adapt to diverse organizational needs and complex environments, with options for further customization and scaling depending on workload demands and regulatory constraints.
No tracked trend matches for this post yet.
Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.