fivenines

Practice / target 80%

track Redis-Like System Practice

01

Trace `SET a 1` through parser, dispatch, object storage, AOF, and output buffering. Which layer owns each decision?

intro

Scenario

You are tracing one write command through every layer of the server you have built across this track.

02

Trace `GET expired-key` after restart. Which systems must agree before the reply is produced?

intro

Scenario

A server has just restarted from disk and a client immediately asks for a key whose TTL passed during the downtime.

03

Where should transaction state live, and why would putting it in the global database be wrong?

applied

Scenario

You are deciding where MULTI state should live in a server that already has clients, a dispatcher, and a shared keyspace.

04

Which single distributed feature would add the most pressure to your current architecture: full sync, partial sync, failover, or slot routing?

applied

Scenario

Your single-node server works, and you are planning which distributed feature to attempt first.

05

What is the smallest set of invariants that would make the server safe to extend?

advanced

Scenario

You are writing down the rules a new contributor must never break when extending your finished server.