Activepieces is rolling out Workers 3.0 to significantly speed up flow execution, particularly for self-hosted users. Key improvements include eliminating database calls before execution (down from about 10 to zero), replacing most database interactions with much faster Redis caching, and dramatically improving how webhook surges are handled by queuing updates in Redis instead of writing directly to the database. Heavy computational tasks have shifted almost entirely to the worker, enabling easier horizontal scaling. A new shared cache volume (currently beta) allows all workers to access a coordinated cache, reducing cold start delays. Early benchmarks show strong performance: on two mid-range machines, the system can handle 120 requests/second with minimum 300ms response time. Further optimizations and testing for even faster performance are planned.
https://community.activepieces.com/t/workers-3-0-a-step-toward-faster-execution/10956

Leave a Reply