News for hackers. Stuff that matters.
Re:Cache Rules Everything Around Me by martinced on Thursday January 31, 2013 @07:51AM (#5144698)
TFA is a big simplistic but, indeed, cache does rule everything.

When you need really fast algorithms and very low latencies, you have to get your hands dirty.

If you're interested in much more advanced writings on the subject I'd suggest googling for "How to do 100K+ TPS at less than 1ms latency".

It is explaining how the LMAX's disruptor pattern is now able to process 12 million events per second on a single core in... Java!

It explains, amongst other, the size and speed of the various caches and how to minimize cache misses.

Re:Cache Rules Everything Around Me by stbullard on Thursday January 31, 2013 @08:31AM (#5144844)
Re:Cache Rules Everything Around Me by brown9-2 on Thursday January 31, 2013 @10:39AM (#5145429)
The "Disruptor" library mentioned can also be found at http://lmax-exchange.github.com/disruptor/.

Funny that this was posted here as their whitepaper has been sitting in my Downloads folder for months waiting to be read.

The slides mention "Hotspot likes small compact methods". Does anyone happen to know a source or have more information on this?

Re:Cache Rules Everything Around Me by octo_t on Thursday January 31, 2013 @01:43PM (#5146541)
The hotspot inliner gives up after only 35 bytes (http://blog.headius.com/2009/01/my-favorite-hotspot-jvm-flag...)
Re:Cache Rules Everything Around Me by brown9-2 on Thursday January 31, 2013 @02:01PM (#5146650)
Fascinating, thanks!