- Python Microservices Development
- Tarek Ziadé
- 211字
- 2021-07-02 18:54:18
Smaller projects
The second benefit is breaking the complexity of the project. When you add a feature to an application such as PDF reporting, even if you do it cleanly, you make the base code bigger, more complicated, and sometimes, slower. Building that feature in a separate application avoids this problem, and makes it easier to write it with whatever tools you want. You can refactor it often, shorten your release cycles, and stay on top of things. The growth of the application remains under your control.
Dealing with a smaller project also reduces risks when improving the application: if a team wants to try out the latest programming language or framework, they can iterate quickly on a prototype that implements the same microservice API, try it out, and decide whether or not to stick with it.
One real-life example in mind is the Firefox Sync storage microservice. There are currently some experiments to switch from the current Python + MySQL implementation to a Go-based one, which stores users' data in standalone SQLite databases. That prototype is highly experimental, but since we have isolated the storage feature in a microservice with a well-defined HTTP API, it's easy enough to give it a try with a small subset of the user base.
- 自己動手實(shí)現(xiàn)Lua:虛擬機(jī)、編譯器和標(biāo)準(zhǔn)庫
- Cassandra Design Patterns(Second Edition)
- Practical DevOps
- Visual Basic程序設(shè)計(jì)習(xí)題解答與上機(jī)指導(dǎo)
- Mastering Predictive Analytics with Python
- Hands-On Automation Testing with Java for Beginners
- 0 bug:C/C++商用工程之道
- SSM開發(fā)實(shí)戰(zhàn)教程(Spring+Spring MVC+MyBatis)
- Cocos2d-x Game Development Blueprints
- C++程序設(shè)計(jì)教程(第2版)
- 貫通Tomcat開發(fā)
- 超好玩的Scratch 3.5少兒編程
- 從零開始:C語言快速入門教程
- SQL Server 2014 Development Essentials
- Java EE 7 Development with WildFly