Kedge

Demo

Break it yourself

Type a message, pick the moment it is in danger, and watch a replay of what the real original did. With the engine up, the same page runs your choices live.

RECORDED
RECORDED REPLAYAn earlier run, replayed to explain. This is not happening live.
  1. 1. Message
  2. 2. Edge
  3. 3. Flow
  4. 4. Flip
  5. 5. Phone

1. Type a message

This is a replay. Your text is echoed into the message line only, and the replies are the recorded run's.

2. Pick the moment the message is in danger

Does the judge's message at the chosen size, and the job after it, survive a kill and restart with -b?

How big is the message? Pick one

The stage runs the original at a declared -z 1024: the size limit, said aloud, and shown on the envelope.

  • At the limit. A body of exactly 1024 bytes: the largest the service will accept.
  • One under. One byte smaller than the limit.
  • Two under (control). Two bytes smaller. Nothing special should happen to it. If this one breaks too, the test is wrong, not the service.

3. Watch the flow RECORDED

  • puta job before yours, 24 bytes -> INSERTED 1 36 ms
  • putsent your message, padded to 1023 bytes -> INSERTED 2 36 ms
  • puta job after yours, 23 bytes -> INSERTED 3 36 ms
  • crash_restartSIGKILL to pid 78655 (process ended on SIGKILL), restarted as 78656 72 ms
  1. 35 ms binlog after start: binlog.1 1048576 bytes
  2. 35 ms binlog after start: lock 0 bytes
  3. 36 ms binlog after SIGKILL: binlog.1 1048576 bytes
  4. 36 ms binlog after SIGKILL: lock 0 bytes
  5. 71 ms stderr …/recovery/binlog.1:132: job 2 is too big (1025 > 1024)
  6. 71 ms stderr …/frozen/beanstalkd-25085c5: Errors reading one or more WAL files.
  7. 71 ms stderr …/frozen/beanstalkd-25085c5: Continuing. You may be missing data.
  8. 71 ms binlog after start: binlog.1 1048576 bytes
  9. 71 ms binlog after start: binlog.2 1048576 bytes
  10. 71 ms binlog after start: lock 0 bytes

4. See the belief change

  • H-01 A message accepted at this size survives a kill and restart with the log on, and so does the work after it. INFERRED -> REFUTED
  • H-02 A body at the -z limit or one byte under it is accepted, then refused on replay, and the rest of that log file is ignored. INFERRED -> OBSERVED

5. Open it on a phone

Scan this to open the same page on a phone.

http://localhost:3740/demo

Or walk the whole seed run

Each link opens one beat of the same rehearsal, labelled SEED.