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

Independent deployment

A standard aspect of the professional software development world is version control. This is because developers are pretty much working on features and maintenance of legacy code in the same application, at the same time.

In the end, a landmark (tag) is created in the application and this landmark is sent to production; this process is called deployment. At that same point, some problems may arise.

Let's consider a situation; in our news portal, one developer is working on an important feature for recommendations while another developer is working on fixing bugs. Both commit to hitting the same target. At the time of deployment, there is a major problem. The bug in news was not fixed successfully, which prevented the new feature from going into production. Software can be thoroughly tested, and even though much attention is given to each task, the unforeseen can still happen.

When it comes to microservices, this kind of problem is reduced drastically. Rethink the same scenario.

On our news portal, one developer is working for a few weeks on an important feature for the Recommendations microservice and another developer is working on a bug in the news microservice. Both commit to hitting the same target, each in their respective microservice; however, we still encounter a problem during deployment. The bug in news was not fixed successfully, which prevents the new version of the news microservice from going into production, but the Recommendations microservice is perfect and the new feature goes into production without any problems.

This is perhaps one of the main positive points when it comes to independent deployment. Of course, the complexity of maintaining the operation of multiple machine instances generates more complexity, but if you think about it, in a world of cloud computing, the complexity of multiple instances would be the same even though the application was monolithic, as the need for scalability is always real.

Later in the book, we see some patterns of deployment; we just focus on reducing complexity and practicality to perform deploys continuously.

主站蜘蛛池模板: 黑龙江省| 济南市| 上犹县| 五原县| 呼和浩特市| 新龙县| 龙门县| 景德镇市| 根河市| 宁远县| 固阳县| 商丘市| 灵丘县| 海门市| 灵石县| 三原县| 兰西县| 广宁县| 新化县| 溆浦县| 东辽县| 安岳县| 民权县| 余江县| 海林市| 卫辉市| 织金县| 罗平县| 宁蒗| 南安市| 孝昌县| 六安市| 石河子市| 奉节县| 喜德县| 镇赉县| 崇文区| 乌兰县| 东兰县| 从江县| 滨海县|