# Redis Notes ###### tags: `Redis` `Database` `NoSQL` `System Design` `Caching` `Linux` `Server` `Distributed System` `Software` `API` Notes for *"REmote DIctionary Server"* Database. ## Resources - [Redis Docs - redis.io](https://redis.io/docs/latest/) ## Introduction - [Can Redis be used as a Primary database? - Hussein Nasser](https://www.youtube.com/watch?v=VLTPqImLapM) - [Top 5 Redis Use Cases - ByteByteGo](https://www.youtube.com/watch?v=a4yX7RUgTxI) - [Top Redis Use Cases - ByteByteGo](https://www.youtube.com/watch?v=41YM-75KYL4) - [Redis單線程如何處理那麼多併發用戶端連接,為什麼單線程,為什麼快](https://www.cnblogs.com/shiblog/p/15854980.html) - [Redis - the What, Why and How to use Redis as a primary database - TechWorld with Nana](https://dev.to/techworld_with_nana/redis-the-what-why-and-how-to-use-redis-as-a-primary-database-2c55) ## MemCached or Redis - [Introducing mcrouter: A memcached protocol router for scaling memcached deployments - Engineering at Meta](https://engineering.fb.com/2014/09/15/web/introducing-mcrouter-a-memcached-protocol-router-for-scaling-memcached-deployments/) - [Memcached vs Redis - More Different Than You Would Expect - Kablamo Engineering Blog](https://engineering.kablamo.com.au/posts/2021/memcached-vs-redis-whats-the-difference/) Both `Redis` and `memcached` provide *atomic get/set/delete operations*, *automatic expiration of old items*, *sub millisecond latency*, *scale to available RAM*, & are *clusterable*. But what are the differences? ![image](https://hackmd.io/_uploads/Sywm4Xfs0.png)