Transactions in microservices

后端 未结 6 1416
孤街浪徒
孤街浪徒 2021-02-07 00:52

I have read some articles about microservices architecture, but no one takes the topic of transaction. All that they says that this is hard to do it. Maybe someone can describe

6条回答
  •  死守一世寂寞
    2021-02-07 01:32

    Building on top of previous answers, distributed transactions are the solution. In my opinion you don't want to build your own mechanisms for tracking global transactional state, rather you want to use some kind of product - there are several out there. I have written a lengthy blog article about solving this issue with a Java application server:

    http://blog.maxant.co.uk/pebble/2015/08/04/1438716480000.html

提交回复
热议问题