Workflow orchestration in Go: four engines behind one plugin layer - and when a Redis queue is all you need
Part 23 of the GoWind series , and the last stop on the framework internals tour ( YAML assembly → custom plugins → AI plugins → this). "Add workflow orchestration" is where Go backends usually pick a religion early and pay for it late. The go-wind-plugins workflow layer takes a different position: support four engines behind one plugin boundary, and make the lightweight case explicitly…
In the last part of the GoWind series, the Go backend framework introduces workflow orchestration with an interesting approach. Rather than committing to a single engine, the framework supports four engines behind a single plugin boundary. This design allows for lightweight cases to remain lightweight while still providing powerful orchestration options.
The four supported engines are Adapter, Temporal, Argo, and Conductor, each with their own plugin layer and specific operations. Temporal, in particular, is recommended for order flows and approvals, while the other engines cater to different use cases. The framework allows for easy configuration of workflows using YAML and offers both async and sync triggering options.
Notably, when no engine is required, the framework offers a lightweight Asynq option based on a Redis queue. This approach keeps the door open for various orchestration needs without forcing a specific choice on developers, allowing them to select the most appropriate engine for their use case.
Rewritten by urgent.news; may contain errors — check the original. How we use AI.
Source: dev.to