简体   繁体   中英

How does Google App Engine manage sessions inside cluster?

A cluster contains several nodes, and if one of current node is down, other nodes can retrieve current user session.

I was thinking about how to do the same thing myself (session replication) if I want to create my own high availaible Paas (Cloud).

May I use a key/value database (NoSQL) in order to store/retrieve sessions ? Or something similar.

How does Google for its Google App Engine ? Does Google use a Filter in order to rewrite HttpSession API (Java) ?

Thanks

in appengine, the session is simply kept in its datastore. you can do the same or improve it by adding a caching layer with memcache.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM