A / B Testing in App Engine?
Take a look at Gae / Bingo , it's an A / B framework for App Engine inspired by A / Bingo .
More details here .
a source to share
It is currently usually available in SDK 1.6.3 as a traffic splitting feature: http://code.google.com/appengine/docs/adminconsole/trafficsplitting.html
a source to share
Assuming you want to test different versions of your application, I would suggest using a simple bit of WSGI middleware. Create something that directs x% of users to one WSGI application and the rest to another, subject to any requirements - user ID, IP address, etc. This should be pretty simple to implement and you can dump whatever you want on top of it.
a source to share
The A / B test requires showing Page A to some users and Page B to some other users.
App Engine has nothing to do with this. App Engine is a way to apply deployment , not a direct user across pages.
This is a web framework feature that you use to serve one page based on a user's cookie / session.
This can be done in a simple way as follows:
- Get cookie
- Find it in the data warehouse
- Found? Use the same set of pages (A or B) for the last time
- Not found? Choose A or B randomly, save the selection to the datastore along with the cookie
- (maybe) Put selection in session for quick access
Then, in specific controllers / views based on the selected A or B, serve / redirect the user to page A or page B. Write the result (regardless of your result - sales, registrations, etc.) in the datastore.
This can be done for any web structure. You didn't even say which one you are using;)
a source to share