Google App Engine - percentage of users view version X of the application, and percentage - version Y

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?

+4
source share
2 answers

There is currently no way to do this with non-reverse proxy application versions in front of your application that sends users to one or the other version. Your best option is probably to integrate A / B testing support into your code and enable or disable the functions on which you base the user.

+3
source

GAE / Bingo is a split testing platform created specifically for the App Engine, inspired by A / Bingo .

It was used in production at khanacademy.org and was developed with a focus on performance. ( More )

Unfortunately, at the moment it is available only for Python - but it is open source ...

+3
source

Source: https://habr.com/ru/post/1305012/


All Articles