2. OmniLogic • Since nov/2009 • Data-Mining • Computational Intelligence • Optimization • Business Intelligence
3. Memcached • Free & open source • High-performance • Distributed memory object caching system • Generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load. • In-memory key-value store for small chunks of arbitrary data (strings, objects from database calls, API calls etc) • At heart it is a simple Key-Value store
5. Features • Simple Key-Value Store • Servers are disconected from each other • Forgetting data is a feature(LRU) • O(1)
6. Redis vs Memcached Redis Memcached In Memory x x Persistent x Atomic x x Consistent x x Replication x Authentication x Key / Value x x Key Enumeration x Key / Value buckets x
7. Redis vs Memcached Redis Memcached Maximum Key Length 2^31bytes 250 bytes Maximum String size 512m 1m Data Structures x Channel Pub/Sub x Consistent hasing x x Memory Usage 10-20% less Speed(Single Instance, Multicore) 100.000 req/s 125.000 req/s Speed(Multiple Instances, Single Thread) 200.000 req/s 200.000 req/s
8. Redis – Real Use Cases • R eal-time model-prediction caching • Page fragments caching • Jobs Queue