ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitriy Setrakyan <dsetrak...@apache.org>
Subject Cache iteration speed
Date Sat, 28 Mar 2015 03:56:18 GMT
We had one of our users post this issue:
http://apacheignite.readme.io/v1.0/discuss/5515a26fb2473817004172f8

The concern from the user is that the iteration may be taking too long.

I have looked at the code and am seeing some questionable parts there, like
parallel iteration and AtomicLong.incrementAndGet() for every entry which
probably does a lot of spinning.

Would be nice of anyone tried this code and check if this issue is
reproducible or can be fixed. Perhaps use LongAdder instead of AtomicLong?

D.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message