3 ms·
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
by peterkelly 2y ago
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?
- KraftyOne 2y agoThat 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 https://docs.dbos.dev/explanations/system-tables
- CMCDragonkai 2y agoAll of this seems it would fit any transactional key value structure.