News for hackers. Stuff that matters.
Re:The New Three-Tier Application by mrkeen on Saturday March 22, 2025 @11:10AM (#43446251)
> By persisting execution state to a database, a lightweight library can fulfill the primary goal of an orchestration system: guaranteeing code executes correctly despite failures. If a program fails, the library can look up its state in Postgres to figure out what step to take next, retrying transient issues and recovering interrupted executions from their last completed step.

  program =
    email all customers

  failure =
    throttled by mailchimp
Re:The New Three-Tier Application by jedberg on Saturday March 22, 2025 @04:52PM (#43448516)
Your program would gracefully handle this though, because the workflow would fail and it would retry.

This requires you to write your program in a way that does not trigger mailchimp's throttling -- a problem that would happen no matter how you write your app and a problem you have to deal with no matter how run your app.