Ask Question

You are running an application in Google App Engine that is serving production traffic. You want to deploy a risky but necessary change to the application. It could take down your service if not properly coded. During development of the application, you realized that it can only be properly tested by live user traffic. How should you test the feature?

+3
Answers (1)
  1. 6 June, 22:33
    0
    You need to split the traffic to your test version.

    Explanation:

    Google app engine has a built-in feature that allows you to split a small fraction of your traffic to your test version.

    You can split traffic using an IP address, so when the app receives a request, it can hash the Ip to a value between 0 to 999, and use it to re-route the request.

    This way you don't need to stop your service during your tests and also avoid any risk involved with it.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “You are running an application in Google App Engine that is serving production traffic. You want to deploy a risky but necessary change to ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers