Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
316 views
in Technique[技术] by (71.8m points)

Azure Application Gateway: Prevent a server from receiving new requests

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...