开发者

Windows workflow 4.0 Persistence

开发者 https://www.devze.com 2023-01-30 05:50 出处:网络
Would someone please explain to me why i would need to pe开发者_Python百科rsist a workflow in a database. Please am just trying to understand the conceptsWorkflow are often long running in nature, lik

Would someone please explain to me why i would need to pe开发者_Python百科rsist a workflow in a database. Please am just trying to understand the concepts


Workflow are often long running in nature, like weeks or months. And keeping them in memory means you can't recycle the application or machine. By saving the state to disk, ie database, you can restart the process and machine. Also keeping worklflows in memory when they aren't doing anything just wasts memory resources and thus hinders scalability. Finally saving state in a database means we can restart the workflow from that state so it also helps when error handling.

0

精彩评论

暂无评论...
验证码 换一张
取 消