I’m a little curious about giant businesses like Taobao and QQ. Users often perform seemingly simple small operations in the front desk, but there may be several modules in the backend that need to perform some operations at the same time.
Now what I want to ask is, if one of these operations fails to execute, how do other modules handle it?
Is there a message middleware that will treat this series of operations as a transaction and notify other modules to roll back all failed associated operations?
I’m a little curious about giant businesses like Taobao and QQ. Users often perform seemingly simple small operations in the front desk, but there may be several modules in the backend that need to perform some operations at the same time.
Now what I want to ask is, if one of these operations fails to execute, how do other modules handle it?
Is there a message middleware that will treat this series of operations as a transaction and notify other modules to roll back all failed associated operations?
https://segmentfault.com/a/1190000003059871