| ▲ | oa335 2 hours ago | |||||||
Can anyone explain why I would want to use this over an orchestration tool that lives outside the DB? Read through the Readme and some of the examples, I still don't get it. | ||||||||
| ▲ | rswail 2 hours ago | parent | next [-] | |||||||
Snapshot PITR of your database means everything restores including the durable jobs at the PIT. Don't need to synchronize the backups with anything else that is part of the same data store, good for ETL pipelines and other state machine type jobs. If your ETL is mostly SQL anyway, then having the actual job being run on the same server helps as well. | ||||||||
| ||||||||
| ▲ | gdecandia 2 hours ago | parent | prev | next [-] | |||||||
Contributor here. At Microsoft, our Postgres customers seem to split pretty evenly into 2 camps, those that want to do as much as they can in the database, and those that agree with your take - want to keep apps and compute outside the DB. | ||||||||
| ||||||||
| ▲ | jpalomaki 2 hours ago | parent | prev | next [-] | |||||||
It’s sometimes convenient if database is the only ”stateful” component in architecture. Also if all the "state" is in one database, then you have better chance of getting consistent backups. | ||||||||
| ▲ | thibaut_barrere 2 hours ago | parent | prev | next [-] | |||||||
You can have well-integrated applicative workflows (eg: progress report on a permalink in your front end app), app-restart-proof resumable workflows, and it avoids adding an extra piece of infrastructure. We use Postgres for that on https://transport.data.gouv.fr (Elixir app which does a fair bit of processing), and it helps. Not familiar yet with pg_durable though, but I have used or implemented similar solutions and can relate. | ||||||||
| ▲ | keynha 23 minutes ago | parent | prev [-] | |||||||
[dead] | ||||||||