- Python Microservices Development
- Tarek Ziadé
- 175字
- 2021-07-02 18:54:18
Separation of concerns
First of all, each microservice can be developed independently by a separate team. For instance, building a reservation service can be a full project on its own. The team in charge can make it in whatever programming language and database, as long as it has a well-documented HTTP API.
That also means the evolution of the app is more under control than with monoliths. For example, if the payment system changes its underlying interactions with the bank, the impact is localized inside that service, and the rest of the application stays stable and is probably unaffected.
This loose coupling improves the overall project velocity a lot, as we apply, at the service level, a philosophy similar to the single responsibility principle.
The single responsibility principle was defined by Robert Martin to explain that a class should have only one reason to change; in other words, each class should provide a single, well-defined feature. Applied to microservices, it means that we want to make sure that each microservice focuses on a single role.
- 自己動手實現Lua:虛擬機、編譯器和標準庫
- Mastering Natural Language Processing with Python
- Python爬蟲開發與項目實戰
- Learn Programming in Python with Cody Jackson
- Instant QlikView 11 Application Development
- 小程序開發原理與實戰
- Mastering JBoss Enterprise Application Platform 7
- 移動互聯網軟件開發實驗指導
- Hands-On GUI Programming with C++ and Qt5
- ArcGIS for Desktop Cookbook
- 代替VBA!用Python輕松實現Excel編程
- C語言程序設計習題與實驗指導
- Image Processing with ImageJ
- Mastering Apache Storm
- Java 從入門到項目實踐(超值版)