Index

Module 02 · From ScratchRedis

Redis: One Thread, Many Clients

One Thread Many Clients
One Thread Many Clients · Open board

The board behind this lesson. Sits under the project lesson Build Your Own Redis - From Scratch, and hands off to Keys That Die (Expiry).

Before you start. This series builds a small copy of Redis, a program that stores keys and values in memory and answers other programs over the network. So far the copy can take the raw characters arriving on a network connection (a socket) and split them into commands, using Redis’s own message format, RESP (Redis 02: RESP, The Wire Protocol). It also keeps every key in one shared table, and the last lesson found a crack in it: two things touching that table at once corrupt it (Redis: The Map (SET / GET / DEL)).

Continue reading with a plan

The first three lessons of every track are free. This lesson is included with a plan, which unlocks every lesson, board, video, lab and paper for one price.

View plans →Already a member? Sign in

Review From Scratch →

Saved in this browser, and to your account when you sign in.