What is Redis?
• Open source in-memory data structure store used as What is • A database • A cache Redis? • A message broker
• It supports data structures such as: • Strings • Hashes • Lists What is • Sets • Sorted set with ranged queries Redis? • Bitmaps • Hyperlogs • Geospatial indexes with radius queries • Streams
Where can Redis be used?
Session Cache Full Page Cache Where can Redis be Queues used? Leaderboards/Counting Pub/Sub
Who uses Redis?
Famous companies
Characteristics of Redis
In-memory store Optimized for performance Support for arbitrary data Characteristics Key-based access of Redis Multi-key operations Atomicity of both operations and transactions Data expiration
Eviction policies Intelligent caching Distributed network server Characteristics Request pipelining of Redis Highly available Data persistence Scalable shared-nothing clustering Local cache replicas
Quality attributes
Performance Compatibility efficiency Quality attributes Recoverability Persistency
Contributors
Compiling Redis
GitHub https://github.com/antirez/redis.git
Make C --> make
It works!
Playing with Redis
A small... but funny change
Who is he?
Basic use
Questions?
Recommend
More recommend