← 返回卡片

原书出处

Software Architecture in Practice, 4th Edition

17 云与分布式计算

Fourth Edition · 核验版本的摘录快照 · 导入于 2026-10-24T04:18:23.027Z

When the autoscaler removes an instance, it cannot just shut down the VM. First, it must notify the load balancer to stop sending requests to the service instance. Next, because the instance may be in the process of servicing a request, the autoscaler must notify the instance that it should terminate its activities and shut down, after which it can be destroyed. This process is called “draining” the instance. As a service developer, you are responsible for implementing the appropriate interface to receive instructions to terminate and drain an instance of your service.

此预览只包含定位所需的摘录和上下文。

原书定位详情

来源:a19c7933-4eda-4176-aebd-30fe7e1ad292

正文位置:extracted/Software Architecture in Practice, 4th Edition/_epub-src/ch17.html

EPUB SHA-256:7e9d0139f6c82a6fe31a29bb9182f06ae35b15739f8b255fefe1363a3dcc7139