I'm setting up API servers behing an Application Gateway
on Azure. I'd like to roll out updates to each server one by one. However, before I do that, I'd like to ensure that all in-progress requests on a server are fully processed and no new requests can be received by the server. This is to prevent closing HTTP connections abruptly while the customer waits for a response.
So, suppose I have 5 servers behind a gateway and I like to update server #5. The flow I'd like to implement is as follows:
- Flag server #5 so that it does not receive any new requests
- Wait until server #5 processes all pending requests
- Update server #5
- Make it available in the app pool
Is this possible with Application Gateway
?
question from:
https://stackoverflow.com/questions/65645494/azure-application-gateway-prevent-a-server-from-receiving-new-requests 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…