- Python Microservices Development
- Tarek Ziadé
- 202字
- 2021-07-02 18:54:18
Scaling and deployment
Finally, having your application split into components makes it easier to scale depending on your constraints. Let's say you start getting a lot of customers who book hotels daily, and the PDF generation starts to heat up the CPUs. You can deploy that specific microservice in some servers that have bigger CPUs.
Another typical example are RAM-consuming microservices like the ones that interact with memory databases like Redis or Memcache. You could tweak your deployments, consequently, by deploying them on servers with less CPU and a lot more RAM.
We can, thus, summarize the benefits of microservices as follows:
- A team can develop each microservice independently, and use whatever technological stack makes sense. They can define a custom release cycle. All they need to define is a language-agnostic HTTP API.
- Developers break the application complexity into logical components. Each microservice focuses on doing one thing well.
- Since microservices are standalone applications, there's a finer control on deployments, which makes scaling easier.
The microservices architecture is good at solving a lot of the problems that may arise once your application starts to grow. However, we need to be aware of some of the new issues they also bring in practice.
- INSTANT Mock Testing with PowerMock
- MySQL數據庫管理與開發實踐教程 (清華電腦學堂)
- 可解釋機器學習:模型、方法與實踐
- Express Web Application Development
- C語言開發基礎教程(Dev-C++)(第2版)
- Node.js:來一打 C++ 擴展
- Kotlin開發教程(全2冊)
- Python+Tableau數據可視化之美
- Unity 2018 Augmented Reality Projects
- Advanced UFT 12 for Test Engineers Cookbook
- Elasticsearch實戰(第2版)
- Unity與C++網絡游戲開發實戰:基于VR、AI與分布式架構
- Python自動化運維:技術與最佳實踐
- 三步學Python
- ACE技術內幕:深入解析ACE架構設計與實現原理