Member-only story

The Amazing Redis

Naveed Khan
The Startup
Published in
7 min readMar 14, 2020

A fan’s introduction to Redis

This is a Fan Post about Redis— but I promise you will learn a thing or two about caching, scalability, high-availability, synchronization and of course about Redis itself.

Batmobile
Batmobile by BelleDeesse

What is Redis

For the uninitiated; Redis may be known as an in-memory data store or an alternative to Memcache. That is as much correct as calling Batmobile just a car. Here is what Redis really is (paraphrasing from redis introduction page)

Redis is an in-memory data structure store, used as a database, in-memory cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, geospatial indexes with radius queries and streams.

Not impressed yet? here is some more:

Redis has built-in replication, Lua scripting, LRU eviction, transactions and different levels of on-disk persistence, and provides high availability via Redis Sentinel and automatic partitioning with Redis Cluster. You can run atomic operations on these types, like appending to a string; incrementing the value in a hash; pushing an element to a list; computing set intersection, union and difference; or getting the member with highest ranking in a sorted set. Redis also supports trivial-to-setup master-slave asynchronous replication…

--

--

The Startup
The Startup

Published in The Startup

Get smarter at building your thing. Follow to join The Startup’s +8 million monthly readers & +772K followers.

Naveed Khan
Naveed Khan

Written by Naveed Khan

Technology leader, entrepreneur and angel investor. Head of Engineering at Blitz.gg. I write about programming, software engineering and career development.

No responses yet