- Spring 5.0 Microservices(Second Edition)
- Rajesh R V
- 144字
- 2021-07-02 19:44:57
Disposability, with minimal overhead
The disposability with minimal overhead principle advocates to build applications with minimal startup and shutdown times, and with a graceful shutdown support. In an automated deployment environment, we should be able to bring up or bring down instances as quickly as possible. If the application's startup or shutdown takes considerable time, it will have an adverse effect on automation. The startup time is proportionally related to the size of the application. In a cloud environment targeting auto scaling, we should be able to spin up a new instance quickly. This is also applicable when promoting new versions of services.
In the microservices context, in order to achieve full automation, it is extremely important to keep the size of the application as thin as possible, with minimal startup and shutdown times. Microservices should also consider lazy loading of objects and data.
- Java程序設(shè)計(jì)實(shí)戰(zhàn)教程
- DevOps with Kubernetes
- Vue.js快速入門與深入實(shí)戰(zhàn)
- 樂學(xué)Web編程:網(wǎng)站制作不神秘
- Hands-On Data Structures and Algorithms with JavaScript
- 跟老齊學(xué)Python:輕松入門
- Python王者歸來
- Mastering Google App Engine
- OpenCV with Python By Example
- JavaScript動(dòng)態(tài)網(wǎng)頁(yè)編程
- Java 9 with JShell
- RESTful Web API Design with Node.js
- Raspberry Pi開發(fā)實(shí)戰(zhàn)
- 微信公眾平臺(tái)開發(fā)最佳實(shí)踐
- micro:bit軟件指南