O'Reilly logo

Mastering Redis by Jeremy Nelson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

This chapter started with an in-depth exploration of how Redis handles and responds to client requests defined in multiple C header and code files. Then, we took a detailed look at the source code. We examined the processCommand function that works in relation to other functions and operations in Redis. We then went through an exercise where we added two new Redis commands by coping and retrofitting existing C code into our own development Redis branch.

The next sections were on the Redis Serialization Protocol and thewith a detailed byte-level examination of the Redis binary persistence format. We then looked at two different projects that use different Redis client implementations in Python and Node.js.

Now that you have a better understanding ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required