Citadel·Software Engineer·Onsite - System Design / Architecture
- You have a counter running on a single host, and multiple separate processes need to read and update it. How do you design this so it works correctly across process boundaries?
“My first instinct was shared memory with a mutex and I said it pretty quickly, but then they pushed on what happens when a process crashes mid-write.”