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:

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?


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