System Design · Dropbox · Medium
Problem: Event Logger Design and build an event logger that reliably appends events to persistent storage. Requirements Provide the ability to append events to the log. Support writing buffered, in-memory events to the underlying storage in batches. Address durability semantics: decide when to invoke fsync (or an equivalent forced flush). Follow-up directions (conceptual) How to implement batching to increase throughput. Trade-offs around fsync frequency (latency versus…
Checking your access…