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

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 give us the flexibility to roll back 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 divide 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 roll back 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.

主站蜘蛛池模板: 晋城| 裕民县| 太谷县| 普宁市| 上虞市| 建瓯市| 阿勒泰市| 高邑县| 阿拉善右旗| 彭泽县| 都江堰市| 肥城市| 萨嘎县| 乌兰县| 怀来县| 东乌| 云林县| 黄大仙区| 平遥县| 玛曲县| 山阳县| 华亭县| 百色市| 双辽市| 准格尔旗| 塘沽区| 公安县| 酒泉市| 鹿泉市| 镇江市| 南充市| 九龙城区| 舞钢市| 顺义区| 龙川县| 西乌珠穆沁旗| 宜兰市| 镇宁| 鲜城| 怀安县| 嵩明县|