官术网_书友最值得收藏!

Fault tolerance

Monolithic applications have high module interdependency as they are tightly coupled. The different modules utilize functionality in such an intramodule manner that even a single module failure brings the system down due to the cascading effect, which is very similar to dominoes falling. We all know that a user not getting results for a product search would be far less severe than the entire system coming down to its knees.

Decoupling using web services has been traditionally attempted at the architecture level. For database-level strategies, ACID has been relied upon for a long time. Let's examine both these points further.

  • Web services: In the current monolithic application, customer experience is degraded due to this very reason. Even as a customer tries to place an order, reasons such as high response time of web services or WCF or even a complete failure of the services itself results in a failure to place the order successfully. Not even a single failure is acceptable as the users tend to remember their last experience and assume a possible repeat. Not only is this loss of possible sales, but also loss of future business prospects. Web services' failures can cause a cascading failure in the systems that rely on them.
  • ACID: ACID is the acronym for atomicity, consistency, isolation, and durability; it's an important concept in databases. It is in place, but whether it's a boon or bane is to be judged by the sum total of the combined performance. It takes care of failures at the database level, and there is no doubt that it does provide some insurance against the database errors that creep in. But at the same time, every ACID operation hampers/delays operations by other components/modules. The point at which it brings the system where it causes more harm than benefit  needs to be judged very carefully.
主站蜘蛛池模板: 贵阳市| 桑日县| 阳西县| 五大连池市| 平湖市| 封开县| 丹江口市| 缙云县| 拜泉县| 津南区| 玉屏| 鹿邑县| 榆树市| 鄂州市| 河源市| 家居| 老河口市| 兴宁市| 江永县| 淮滨县| 平安县| 柳江县| 恩施市| 涞源县| 南昌市| 会东县| 茶陵县| 长武县| 南雄市| 黄浦区| 时尚| 化德县| 威信县| 邳州市| 金沙县| 鸡泽县| 久治县| 泸西县| 通城县| 任丘市| 安陆市|