System InternalsLearn ↗BitcaskPUTGETDELETEMERGE

Bitcask — pick a scenario

0/3 done

Pick one and press Start, then click Next › to step through it.

Watch for

The keydir's arrow snapping onto each record the instant it's written.

More about this scenario
You'll learn

A read costs one lookup plus one seek — no scan, however big the file gets.

How it runs

Each write appends a record to the end of the file and repoints the keydir; a read finds the key in the keydir and seeks once to fetch it.