开发者

Windows workflow 4.0 Persistence

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜