Datanucleus/JDO Level 2 Cache on Google App Engine
Posted
by Thilo
on Stack Overflow
See other posts from Stack Overflow
or by Thilo
Published on 2010-01-06T07:19:23Z
Indexed on
2010/05/11
14:04 UTC
Read the original article
Hit count: 476
Is it possible (and does it make sense) to use the JDO Level 2 Cache for the Google App Engine Datastore?
First of all, why is there no documentation about this on Google's pages? Are there some problems with it? Do we need to set up limits to protect our memcache quota?
According to DataNucleus on Stackoverflow, you can set the following persistence properties:
datanucleus.cache.level2.type=javax.cache
datanucleus.cache.level2.cacheName={cache name}
Is that all? Can we choose any cache name?
Other sources on the Internet report using different settings.
Also, it seems we need to download the DataNucleus Cache support plugin. Which version would be appropriate? And do we just place it in WEB-INF/lib
or does it need more setup to activate it?
© Stack Overflow or respective owner