RotationShardShuffler is initialized with a random seed, then the seed will be increased by one (round-robin) on every certain action.
2015年5月26日 星期二
Elasticsearch Class Diagram for Shard Routing and Preference
RotationShardShuffler is initialized with a random seed, then the seed will be increased by one (round-robin) on every certain action.
2015年5月25日 星期一
2015年5月8日 星期五
2015年5月5日 星期二
Interview with LZ4 (Extremely Fast Compression algorithm)
Why is LZ4 so fast?
- Fast scan strategy
- xxHash (Extremely fast non-cryptographic hash algorithm)
- Multi-threading
- Reduced memory usage fits into Intel x86 L1 cache
- #define LZ4_MEMORY_USAGE 14 (default 16 KB, see lz4.h)
Reference:
- LZ4 - Improved performance
- Multi-threading compression available
- LZ4 explained
- Lucene source code to learn LZ4 compression algorithm in Lucene
Official site:
- LZ4 - Extremely fast compression
- LZ4 Java
- JNI (fastest)
- Pure Java
- Java uses sun.misc.Unsafe API
訂閱:
文章 (Atom)