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

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 the high response time of web services or even a complete failure of the service itself results in a failure to place the order successfully. Not even a single failure is acceptable, as users tend to remember their last experience and assume a possible repeat. Not only does this result in the loss of possible sales, but also the 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. At the same time, every ACID operation hampers/delays operations by other components/modules. The point at which it causes more harm than benefit needs to be judged very carefully.
主站蜘蛛池模板: 南川市| 即墨市| 南康市| 双辽市| 梁山县| 城市| 东平县| 宜州市| 白水县| 财经| 缙云县| 西昌市| 祥云县| 凯里市| 永善县| 泸溪县| 富锦市| 台北市| 株洲县| 峨山| 田东县| 玉山县| 南安市| 河北省| 伊宁市| 彭泽县| 南平市| 宁蒗| 盐边县| 屏边| 厦门市| 沁源县| 田林县| 柳河县| 昌邑市| 托克逊县| 滁州市| 盈江县| 新龙县| 兴和县| 湛江市|