涉及 Web 服务的分布式事务
使用 Web 服务进行分布式事务的一般方法是什么?假设我有一个应用程序/服务,在某种全局事务中与其他两个 Web 服务进行通信。我不太确定在这种情况下两阶段提交如何工作。
What are the general ways of doing distributed transactions with web services ? Lets assume I have an application / service that talks to two other web services within some sort of global transaction . I am not very sure how the two phase commits work in this scenario .
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这不是对您问题的直接回答,而是指向一些好的背景材料。我最近碰巧正在研究这个主题,并偶然发现了这篇论文,它对最先进的技术(大约 2004 年)和交易替代方案(例如暂定持有)进行了不错的回顾。
https://www.researchgate.net/publication/221152644_Web_Service_Composition_Transaction_Management
这篇学生论文还涵盖了很多内容同地:
http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.151.3803&rep=rep1&type=pdf
正如此 W3C 文档:
https://www.w3.org/TR/tenthold-1/
总的来说,这些通过网络服务进行交易的方法似乎并没有获得太多关注。
This is not a direct answer to your question but a pointer to some good background material. I happened to be researching this topic recently and stumbled across this paper that both gives a decent review of the state of the art (circa 2004) and transaction alternatives such as tentative holding.
https://www.researchgate.net/publication/221152644_Web_Service_Composition_Transaction_Management
This student thesis also covers a lot of the same ground:
http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.151.3803&rep=rep1&type=pdf
As does this W3C document:
https://www.w3.org/TR/tenthold-1/
In general, it appears these approaches to transactions over web services haven't gained much traction.