Command Palette

Search for a command to run...

Hectal
PHASE 16Advanced ~6 min· topic 2 of 5

Topic 16.2

Intermediate Questions (16–35)

In one line

Twenty implement-and-explain questions: cache-aside, rate limiting, counters, leaderboards, sessions, locks, stampede, penetration, avalanche, hot and big keys, Cluster, Sentinel, replica lag, stale reads, Pub/Sub, Streams, Streams vs Kafka, List vs Stream, MULTI/EXEC vs Lua.

0/5 · 0%

Think of it like this

A cooking exam where you're asked to actually make the dish, not describe it. Intermediate questions expect working designs with the exact commands and the failure that the naive version has.

Key ideas

  1. 01

    Answer shape: naive version → what breaks → correct version with commands → one production concern (scale, failure or monitoring).

  2. 02

    These map to Phases 3, 5, 6, 7, 8, 10, 11, 12 and 13.

Explain it without notes

01

16. Implement cache-aside.

02

17. Implement a rate limiter.

03

18. Implement a distributed counter.

04

19. Implement a leaderboard.

05

20. Implement a session store.

06

21. Implement a distributed lock.

07

22. Explain cache stampede.

08

23. Explain cache penetration.

09

24. Explain cache avalanche.

10

25. Explain hot keys.

11

26. Explain big keys.

12

27. Explain Redis Cluster.

13

28. Explain Sentinel.

14

29. Explain replica lag.

15

30. Explain stale reads.

16

31. Explain Pub/Sub.

17

32. Explain Streams.

18

33. Redis Streams vs Kafka?

19

34. Redis List vs Streams for queues?

20

35. MULTI/EXEC vs Lua?

Practice

01

Pick three questions and write the full Redis commands or Lua for each from memory.

Done when you can

  • I can implement and explain all 20 intermediate questions with commands and failure modes.