Home > Backend Development > PHP Tutorial > Are there transaction constraints between multiple modules in a very large website?

Are there transaction constraints between multiple modules in a very large website?

WBOY
Release: 2016-07-06 13:52:21
Original
916 people have browsed it

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?

Reply content:

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

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template