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

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.
主站蜘蛛池模板: 山丹县| 巫溪县| 重庆市| 当雄县| 宜黄县| 达孜县| 石嘴山市| 大丰市| 潜山县| 汪清县| 昌江| 西安市| 兴义市| 福鼎市| 秀山| 桐城市| 崇州市| 鸡西市| 江达县| 临海市| 霍州市| 边坝县| 浑源县| 翼城县| 绥阳县| 德州市| 科尔| 项城市| 临城县| 漯河市| 景洪市| 抚顺县| 邹城市| 昌宁县| 乌兰县| 肃南| 永济市| 库伦旗| 莎车县| 海林市| 化德县|