DataNucleus knows nothing about your environment ... local or GAE/J.
It simply knows to call javax.cache API to store and retrieve objects.
The rest is down to Googles infrastructure. Look in the log ... it
tells you when objects are L2 cached and when retrieved from the L2
cache, and compare the l
Hi,
With the cache enabled I get a huge performance gain. In total it
looks close to my handmade cache. And it is so easy to put in place...
The First request takes some time but subsequent are really quick.
The problem is that it only works only on localhost. When I deploy my
application I get a
> Do I understand right, that this L2 cache is doing exactly the same?
Indeed, part of the JDO1/JDO2 and JPA2 specs.
> Why is it not disabled by default (are there draw backs)?
It *is* disabled by default in DataNucleus 1.x. It is enabled by
default in DataNucleus 2.x (which GAE/J doesn't suppor
Toby,
I am not sure since I'm new to the topic but that's how I understood
it. The L2 Cache is disabled by default, you need to include another
jar from datanucleus in your buildpath and add two lines to your
jdoconfig (see above).
If you try it out please let me know how performance changes compa
Hello,
Currently I made a memcache layer over my DAO to prevent calling the
datastore if it is not neccessary.
Do I understand right, that this L2 cache is doing exactly the same?
If I e.g. fire a request and then fire the same query again (and in
the mean time no update or delete was done) it wou
> Is it possible that DN L2 caching in GAE drives down CPU milliseconds
> used but overall response times get slower?
Benefits of an L2 cache are subject to what you're doing (it's benefit
is for multiple PM's for a PMF accessing the same objects, and hence
providing a "quick" way of accessing the
Is it possible that DN L2 caching in GAE drives down CPU milliseconds
used but overall response times get slower?
On 5 Mrz., 09:52, Frederik Pfisterer wrote:
> Thanks DN.
> For anyone interested, I'm using datanucleus-cache-1.1.1.jar now and
> it seems to work just fine.
>
> On 4 Mrz., 23:41, dat
Thanks DN.
For anyone interested, I'm using datanucleus-cache-1.1.1.jar now and
it seems to work just fine.
On 4 Mrz., 23:41, datanucleus wrote:
> GAE/J does not (yet) support DN 2.x
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group
GAE/J does not (yet) support DN 2.x
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to
google-appengine-java+u
Here is a useful resources for anyone interested in this thread:
http://www.datanucleus.org/products/accessplatform_1_1/jdo/cache.html
On 4 Mrz., 21:20, Frederik Pfisterer wrote:
> Hi Folks,
>
> I am new to using a cache and have a hard time setting up the cache
> for JDO. Also searched the web a
10 matches
Mail list logo