Redis Stream Interactive Visualization

Based on the logic from t_stream.c

Controls

Stream Configuration

Set to 0 for unlimited. Size is simulated based on field/value length.

XADD

XTRIM

[?]

If checked, trimming is less precise but faster. The simulation will only remove whole listpacks instead of individual entries.

Stream: mystream Length: 0, Last ID: 0-0

Radix Tree (rax)

[?]

Redis Streams use a Radix Tree to index listpacks. Each node's key is the first Stream ID in its corresponding listpack. This allows for efficient seeking to a specific time range.

Consumer Groups

No consumer groups yet. Use XGROUP CREATE.

Simulation Log

[...] Log will appear here...