Redis Internals

Source: https://arpitbhayani.me/redis-internals/

Redis has to be the most versatile modern database out there. Although it is heavily used as a cache, it can also be used as a Message Broker, a Streaming engine, and so much more. This course will be an answer to some of your most common questions about Redis – why is it so fast? and how it can handle a large number of TCP connections while being single-threaded?

In this self-paced recorded course, we will be understanding the internals of Redis by actually reimplementing it in Golang, and the features include

  • event loop
  • serialization protocol
  • approximated LRU eviction
  • command pipelining and transactions

Our reimplementation in Golang will be an actual drop-in replacement of Redis which means you would be able to connect to this DB through any Redis client in the world! Our entire reimplementation is open-sourced and can be found on Github at DiceDB/dice.

Watch Here

Enjoyed this post?

If this article helped you, consider supporting my work.

Support 🐼

Leave a Reply

Your email address will not be published. Required fields are marked *