fivenines

Concept Library

Find the theory, then drill it in practice.

Search Redis concepts by mechanism, artifact type, theory text, and practice scenario. Published concepts open into reading, practice, and D2 modeling; planned concepts show the path ahead.

24
published
24
practice sets
0
planned

24 shown / 24 total

001Build Your Own Redispublished

redis-single-node-key-value-core

Single-Node Key-Value Core

Show how in-memory get, set, del works inside a Redis-like server through one focused runtime path.

d2 hybridrediskey-valuecommands
Theory10 min
Open theory
Practice5 questions / 80%
Start practice
Start guided problem
002Build Your Own Redispublished

redis-resp-protocol-parser

RESP Protocol Parser

Show how parse redis protocol requests and responses works inside a Redis-like server through one focused runtime path.

d2 state machineredisrespprotocol
Theory10 min
Open theory
Practice5 questions / 80%
Start practice
Start guided problem
003Build Your Own Redispublished

redis-client-connection-lifecycle

Client Connection Lifecycle

Show how accept/read/execute/write flow works inside a Redis-like server through one focused runtime path.

d2 sequenceredisconnectionsbuffers
Theory10 min
Open theory
Practice5 questions / 80%
Start practice
Start guided problem
004Build Your Own Redispublished

redis-event-loop

Event Loop

Show how single-threaded file and timer events works inside a Redis-like server through one focused runtime path.

d2 architectureredisevent-loopreactor
Theory10 min
Open theory
Practice5 questions / 80%
Start practice
Start guided problem
005Build Your Own Redispublished

redis-command-table-dispatch

Command Table And Dispatch

Show how metadata-driven command execution works inside a Redis-like server through one focused runtime path.

d2 flowchartrediscommand-tabledispatch
Theory10 min
Open theory
Practice5 questions / 80%
Start practice
Start guided problem
006Build Your Own Redispublished

redis-object-model

Redis Object Model

Show how typed values and encodings works inside a Redis-like server through one focused runtime path.

d2 data modelredisobjectstypes
Theory10 min
Open theory
Practice5 questions / 80%
Start practice
Start guided problem
007Build Your Own Redispublished

redis-dictionary-rehashing

Hash Table And Rehashing

Show how main dictionary and incremental rehash works inside a Redis-like server through one focused runtime path.

d2 hybridredishash-tablerehashing
Theory10 min
Open theory
Practice5 questions / 80%
Start practice
Start guided problem
008Build Your Own Redispublished

redis-expiration-system

Expiration System

Show how passive and active key expiration works inside a Redis-like server through one focused runtime path.

d2 flowchartredisttlexpiration
Theory10 min
Open theory
Practice5 questions / 80%
Start practice
Start guided problem
009Build Your Own Redispublished

redis-memory-limits-eviction

Memory Limits And Eviction

Show how maxmemory and eviction policies works inside a Redis-like server through one focused runtime path.

d2 flowchartredismaxmemoryeviction
Theory10 min
Open theory
Practice5 questions / 80%
Start practice
Start guided problem
010Build Your Own Redispublished

redis-core-data-types

Core Data Types

Show how lists, hashes, sets, sorted sets works inside a Redis-like server through one focused runtime path.

d2 hybridredislistshashes
Theory10 min
Open theory
Practice5 questions / 80%
Start practice
Start guided problem
011Build Your Own Redispublished

redis-pipelining-output-buffers

Pipelining And Output Buffers

Show how many queued requests and large responses works inside a Redis-like server through one focused runtime path.

d2 sequenceredispipeliningoutput-buffers
Theory10 min
Open theory
Practice5 questions / 80%
Start practice
Start guided problem
012Build Your Own Redispublished

redis-transactions-watch

Transactions

Show how multi, exec, discard, watch works inside a Redis-like server through one focused runtime path.

d2 state machineredistransactionswatch
Theory10 min
Open theory
Practice5 questions / 80%
Start practice
Start guided problem
013Build Your Own Redispublished

redis-scripts-functions

Scripts/functions

Show how atomic server-side execution works inside a Redis-like server through one focused runtime path.

d2 sequenceredisscriptsfunctions
Theory10 min
Open theory
Practice5 questions / 80%
Start practice
Start guided problem
014Build Your Own Redispublished

redis-pub-sub

Pub/Sub

Show how channels, patterns, publish fanout works inside a Redis-like server through one focused runtime path.

d2 architectureredispub-subchannels
Theory10 min
Open theory
Practice5 questions / 80%
Start practice
Start guided problem
015Build Your Own Redispublished

redis-streams-consumer-groups

Streams

Show how append-only stream and consumer groups works inside a Redis-like server through one focused runtime path.

d2 hybridredisstreamsconsumer-groups
Theory10 min
Open theory
Practice5 questions / 80%
Start practice
Start guided problem
016Build Your Own Redispublished

redis-rdb-snapshotting

RDB Snapshotting

Show how point-in-time persistence works inside a Redis-like server through one focused runtime path.

d2 sequenceredisrdbsnapshot
Theory10 min
Open theory
Practice5 questions / 80%
Start practice
Start guided problem
017Build Your Own Redispublished

redis-aof-persistence

AOF Persistence

Show how append-only log and rewrite works inside a Redis-like server through one focused runtime path.

d2 sequenceredisaoffsync
Theory10 min
Open theory
Practice5 questions / 80%
Start practice
Start guided problem
018Build Your Own Redispublished

redis-startup-recovery

Startup Recovery

Show how restore from rdb/aof works inside a Redis-like server through one focused runtime path.

d2 flowchartredisrecoveryrdb
Theory10 min
Open theory
Practice5 questions / 80%
Start practice
Start guided problem
019Build Your Own Redispublished

redis-replication-full-sync

Replication: Full Sync

Show how initial master-replica sync works inside a Redis-like server through one focused runtime path.

d2 sequenceredisreplicationfull-sync
Theory10 min
Open theory
Practice5 questions / 80%
Start practice
Start guided problem
020Build Your Own Redispublished

redis-replication-partial-sync

Replication: Partial Sync

Show how replication ids, offsets, backlog works inside a Redis-like server through one focused runtime path.

d2 flowchartredisreplicationpsync
Theory10 min
Open theory
Practice5 questions / 80%
Start practice
Start guided problem
021Build Your Own Redispublished

redis-failover-controller

Failover Controller

Show how sentinel-like monitoring and promotion works inside a Redis-like server through one focused runtime path.

d2 state machineredisfailoversentinel
Theory10 min
Open theory
Practice5 questions / 80%
Start practice
Start guided problem
022Build Your Own Redispublished

redis-cluster-sharding

Cluster Sharding

Show how hash slots and moved redirects works inside a Redis-like server through one focused runtime path.

d2 gridredisclusterhash-slots
Theory10 min
Open theory
Practice5 questions / 80%
Start practice
Start guided problem
023Build Your Own Redispublished

redis-cluster-resharding

Cluster Resharding

Show how live slot migration and ask works inside a Redis-like server through one focused runtime path.

d2 sequenceredisclusterresharding
Theory10 min
Open theory
Practice5 questions / 80%
Start practice
Start guided problem
024Build Your Own Redispublished

redis-capstone-system

track Redis-Like System

Show how full integrated design works inside a Redis-like server through one focused runtime path.

d2 hybridredistrackarchitecture
Theory10 min
Open theory
Practice5 questions / 80%
Start practice
Start guided problem