A few weeks ago I made a post about the Distributed Cache Line Counters. This is not something new as you can see from this very detailed post which also looks at the LongAdder from JDK:
http://psy-lob-saw.blogspot.co.uk/2013/06/java-concurrent-counters-by-numbers.html
One of the links is to an implementation by Cliff Click:
https://github.com/boundary/high-scale-lib/blob/master/src/main/java/org/cliffc/high_scale_lib/ConcurrentAutoTable.java
and already by then (back in 2011) he noticed that it could be used to make a Reader-Writer lock... but maybe he didn't know how, or didn't bother about it because he was busy with other stuff.
This just shows once more, that good ideas tend to cluster in time and are discovered from many different sources simultaneously ;)
If you don't know who Cliff Click is then take a look at this post:
http://concurrencyfreaks.blogspot.co.uk/2013/07/the-future-of-jvm.html
No comments:
Post a Comment