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

Release rollback in case of failure

Since monolithic applications are either bundled in the same archive or contained in a single directory, they prevent the deployment of code modularity. For example, many of you may have experienced the pain of delaying rolling out the whole release due to the failure of one feature.

To resolve these situations, microservices gives us the flexibility to rollback only those features that have failed. It's a very flexible and productive approach. For example, let's assume you are the member of an online shopping portal development team and want to develop an application based on microservices. You can pide your application based on different domains such as products, payments, cart, and so on, and package all these components as separate packages. Once you have deployed all these packages separately, these would act as single components that can be developed, tested, and deployed independently, and called μService.

Now, let's see how that helps you. Let's say that after a production release launching new features, enhancements, and bug fixes, you find flaws in the payment service that need an immediate fix. Since the architecture you have used is based on microservices, you can rollback the payment service instead of rolling back the whole release, if your application architecture allows, or apply the fixes to the microservices payment service without affecting the other services. This not only allows you to handle failure properly, but it also helps to deliver the features/fixes swiftly to a customer.

主站蜘蛛池模板: 得荣县| 长丰县| 铜陵市| 安国市| 加查县| 焦作市| 曲阳县| 武冈市| 双流县| 手游| 耿马| 武宁县| 卢龙县| 阳泉市| 波密县| 启东市| 饶河县| 疏附县| 堆龙德庆县| 濉溪县| 灵石县| 苗栗县| 南丰县| 扬州市| 丹巴县| 松滋市| 江孜县| 玛沁县| 曲靖市| 莫力| 西乌珠穆沁旗| 博爱县| 鸡东县| 凌源市| 安阳县| 江城| 闸北区| 太仓市| 仪征市| 和龙市| 交城县|