[appengine-java] memcache and session on GAE

2010-01-08 Thread nicanor.babula
Hi everyone. How memcache works on GAE? Let me explain: Do I get one memcache instance per app instance or there is one memcache instance for all instastances of my app? My app uses google accounts to handle users. I am thinking that it might be faster reading the current user data from the

Re: [appengine-java] memcache and session on GAE

2010-01-08 Thread Prashant Gupta
2010/1/8 nicanor.babula nicanor.bab...@gmail.com Hi everyone. How memcache works on GAE? Let me explain: Do I get one memcache instance per app instance or there is one memcache instance for all instastances of my app? one instance for all app instances. My app uses google accounts to

Re: [appengine-java] memcache and session on GAE

2010-01-08 Thread Nicanor Cristian
On 01/08/2010 10:58 AM, Prashant Gupta wrote: 2010/1/8 nicanor.babula nicanor.bab...@gmail.com mailto:nicanor.bab...@gmail.com Hi everyone. How memcache works on GAE? Let me explain: Do I get one memcache instance per app instance or there is one memcache instance for all

Re: [appengine-java] memcache and session on GAE

2010-01-08 Thread Prashant Gupta
2010/1/8 Nicanor Cristian nicanor.bab...@gmail.com On 01/08/2010 10:58 AM, Prashant Gupta wrote: 2010/1/8 nicanor.babula nicanor.bab...@gmail.com Hi everyone. How memcache works on GAE? Let me explain: Do I get one memcache instance per app instance or there is one memcache instance

Re: [appengine-java] memcache and session on GAE

2010-01-08 Thread Prashant Gupta
here is a small example : @PersistenceCapable public class Property implements Serializable{ @PrimaryKey @Persistent private String Key; @Persistent(serialized = true, defaultFetchGroup = true) private Object Value; @Persistent private Long Expiry; private Property(String key, Object value,