← Questions

Durable event log writer shared by thousands of threads

0
DatabricksCodingLast asked Sep 2026

Many threads on one server append small opaque records to a single durable log. Design and partly build the writer: how callers hand off records, how writes are batched and flushed with fsync, how ordering is kept, and what a caller may assume after a crash.

Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding