Re:Show HN: DBOS TypeScript – Lightweight Durable Execution ...
by peterkelly on Thursday January 16, 2025 @02:35PM
(#42729833)
How do you persist execution state? Does it hook into the Python interpreter to capture referenced variables/data structures etc, so they are available when the state needs to be restored?
[ Parent
| on HN ]
Re:Show HN: DBOS TypeScript – Lightweight Durable Execution ...
by KraftyOne on Thursday January 16, 2025 @02:40PM
(#42729903)
That work is done by the decorators! They wrap around your functions and store the execution state of your workflows in Postgres, specifically:
- Which workflows are executing
- What their inputs were
- Which steps have completed
- What their outputs were
Here's a reference for the Postgres tables DBOS uses to manage that state: https://docs.dbos.dev/explanations/system-tables
Re:Show HN: DBOS TypeScript – Lightweight Durable Execution ...
by CMCDragonkai on Thursday January 16, 2025 @04:30PM
(#42731140)
All of this seems it would fit any transactional key value structure.