Most workflow libraries make you run something extra. Celery needs Redis. Temporal needs its own server. Gravtory uses the database you already have.
Here's what a saga looks like:
https://github.com/vatryok/Gravtory
If the process crashes mid-saga, it picks up from the last checkpoint. No data loss, no manual recovery.
This article was originally published by DEV Community and written by Vatryok.
Read original article on DEV Community