In the Google App Engine, we can use several versions of the application at the same time. The link to our main version will be on appid.appspot.com, and the other version will be on version.latest.appid.appspot.com.
Suppose that I am creating a new version, but I want only 10% of my database to see it for a while, to make sure that all problems with it do not affect everyone who uses my site.
How can I do this cleanly?
The obvious way I can come up with is that I would send a redirect to the new version for 10% of users. But I donβt think that this is a good solution, because then they will look at another domain, and any bookmarks that they make will not be valid later.
With a normal infrastructure, proxies that divert 10% to the new version will be simple. How can I do this on the application engine?
I assume that from the main version I could get the URL for the new version and pass it to the client, but will it be slower and can it cause any complications?
source share