My application wishes to have:
Automatic scalability
- I want App Engine to spin up new instances of my app when traffic increases
- When instances become idle, I want App Engine to shut them down
Client/server affinity
- After an initial client->server HTTP request, I want clients to be able to connect to the same appserver, so that the appserver can maintain a bunch of client state
- State may be updated frequently (in order to support real-time interactions), so memcache+datastore based persistence is not desirable.
- The server may need to make decisions based on the state of multiple clients, e.g. real time multi-player game
How can I accomplish this?