ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexey Kuznetsov <akuznet...@gridgain.com>
Subject Re: Performance issues with Ignite L2 cache compared to ehcache
Date Tue, 04 Oct 2016 00:48:54 GMT

Could you share with us:
1) How many hosts you are using for starting Ignite?
2) How many Ignite nodes you are staring?
3) Ignite cache config.
4) Ignite version.
5) How often data changed in cache? May be Near Cache may help in your case?
See [1] section  "Near Caches on Server Nodes"

[1] https://apacheignite.readme.io/docs/near-caches

On Tue, Oct 4, 2016 at 7:40 AM, Himetic <cameron.wisemaas@theplatform.com>

> So I've got the L2 ignite cache working, confirmed with beans, logging,
> etc,
> and we're comparing it to our existing ehcache implementation.
> Unfortunately, so far it seems to be running far fewer operations per
> second
> than the ehcache version.  However, it does seem like the timing on each
> cache query (we query by id) is fairly fast, around 5ms per query.
> My suspicion is that it's because of how we're doing the batch queries - we
> get the ids from querying the database with whatever parameters we're
> getting from the web api, and then we go through each id and try the cache,
> pooling the rest into a big database query.  I'm guessing that, since
> ignite
> has the overhead of a network call, even if it's relatively minor when
> querying for a single id, it could add up to a big delay when querying for
> hundreds of IDs, compared to hitting local ehcache, even if the ehcache has
> fewer hits and results in a larger query against the database ultimately.
> Is there a way to mitigate this problem?  Maybe a way to do a batch query
> against the L2 database?  I'm guessing not, but otherwise I'm not sure what
> else we could do to avoid these performance issues.
> --
> View this message in context: http://apache-ignite-users.
> 70518.x6.nabble.com/Performance-issues-with-Ignite-L2-cache-compared-to-
> ehcache-tp8069.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Alexey Kuznetsov

View raw message