Here be dragons examples to implement Logical Clock from this magical book
I use RX.NET to mimic a distributed system. Code's ugly, yeah well what else is new.
- Three processes, streaming events with twisted timestamps (like from other machines)
- Each process have a 50% chance to publish an event to another. You can control the amount of republishing you want to happen.
- Eventual consistency happens
- No causal consistency happens
- Causal consistency happens
- Implement Singhal–Kshemkalyani’s differential technique
- Implement Fowler-Zwaenepoel direct-dependency technique
- Also need to think how to visualize this stuff. Maybe interactive console?