Hi Zeldor,

Zeldor wrote:
> 
> Well, I'm hosting it on GAE and with new pricing model I have to worry
> about instances, not memcache or things like that.

In GAE/J your sessions are persisted to both the BigTable datastore (for
guaranteed persistence) and the memcache (for speed of access). Retrieving
data from the datastore is relatively fast (compared to writing to it) and
from memcache even faster, so each of my session instances stores the user
ID (only) of any logged-on user (or null if none). The session then
retrieves any data from the datastore as needed (for example: user name,
is-administrator-or-not).

Be aware of the maximum session data size of 1MB for GAE/J (= maximum
persistent entity data size). Don't fall into the trap I did by not using
loadable detachable models for large amounts of data like photographs.

Ian

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Users-sessions-data-tp3598626p3601823.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to