AltSql Live demo How to run it
Loading the engine

Power-cut lab

The same test the Alpha went through, run here in your browser. A random mix of saves, deletes and readings runs until the power is cut at a random byte: in the middle of a record, while space is being reclaimed, or while a flash sector is being erased. The chip then reboots and every record the engine had reported as saved is checked.

Not started
0
power cuts
0
of them while erasing a sector
0
saves, deletes and readings run
0
checks after reboots
0
failed checks
0 / 0
write in flight: saved in full / not at all
0
sectors reclaimed
0
old rows rolled over

Four flash layouts take turns: 8 sectors of 1 KB written 4 bytes at a time, 16 of 512 bytes written byte by byte, 8 of 1 KB written 8 bytes at a time, and 6 of 2 KB written 16 bytes at a time.