原书出处
Software Architecture in Practice, 4th Edition
17 云与分布式计算
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