

The brief
Sensor nodes, lot servers and a driver client run as separate processes that only talk through messages. Any of them can be killed, and the rest keep working.
The challenge
Processes that only talk through messages have to keep working when any one of them is killed.
Our role
- Protocols
- Servers
- Recovery
- Browser demo
What we built
- Hand-built TCP framing. With idempotent request and reply.
- Pub-sub and group messaging. A broker and registry-based group messaging.
- Log replay recovery. Lot servers replay their logs on restart.
- A browser demo. The system as Web Workers, with scripted failure scenarios and downloadable logs.
Where it stands
The live demo runs the whole system in the page as Web Workers.
Credits
A university team project. Our contribution covered the protocols, servers, recovery and the browser demo. Other parts were built by teammates.


