- Microservice Patterns and Best Practices
- Vinicius Feitosa Pacheco
- 343字
- 2021-06-30 19:02:47
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.
- 計(jì)算機(jī)網(wǎng)絡(luò)與通信(第2版)
- 光網(wǎng)絡(luò)評(píng)估及案例分析
- SEO 20日
- 社交電商運(yùn)營策略、技巧與實(shí)操
- TCP/IP入門經(jīng)典(第5版)
- 企業(yè)私有云建設(shè)指南
- 互聯(lián)網(wǎng)安全的40個(gè)智慧洞見:2015年中國互聯(lián)網(wǎng)安全大會(huì)文集
- 雷達(dá)饋線技術(shù)
- 網(wǎng)管員必讀:網(wǎng)絡(luò)管理(第2版)
- 光纖通信系統(tǒng)與網(wǎng)絡(luò)(修訂版)
- Windows Server 2012 Hyper-V虛擬化管理實(shí)踐
- 網(wǎng)絡(luò)環(huán)境中基于用戶視角的信息質(zhì)量評(píng)價(jià)研究
- SAE原理與網(wǎng)絡(luò)規(guī)劃
- 夢(mèng)工廠之材質(zhì)N次方:Maya材質(zhì)手冊(cè)
- 語音信號(hào)處理及Blackfin DSP實(shí)現(xiàn)