Step 6 - Challenge: Adding More Commands
Step 6 - Challenge: Adding More Commands
Build Your Own Redis Server (Python Edition)
Step 1 - Introduction to RESP, Building a Protocol Handler Using Test-Driven Development
Step 1 - Introduction to RESP, Building a Protocol Handler Using Test-Driven Development
Step 2 - Creating a Network Client and Server
Step 2 - Creating a Network Client and Server
Step 4 - Handling Concurrency
Step 4 - Handling Concurrency
Step 5 - Implementing Expiry
Step 5 - Implementing Expiry
In this step your goal is to add support for the commands:
EXISTS - check if a key is present.
DEL - delete one or more keys.
INCR - increment a stored number by one.
DECR - decrement a stored number by one.
LPUSH - insert all the values at the head of a list.
RPUSH - insert all the values at the tail of a list.
LRANGE - get the specified elements of the list stored at the supplied key.
Once you’ve built and tested all these operations you will have built a lite version of Redis that has all the functionality of the first actual version of Redis!