← Questions

Durable event log writer shared by thousands of threads

0
DatabricksCodingLast asked Oct 2026

A coding interview question asked in Databricks's algorithms (two rounds) round, last asked Oct 2026. It tests concurrency, durability and batching.

Design and build a thread-safe writer that durably appends records to one file on local disk. Thousands of threads in one application share a single instance and call it all the time.

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

What it tests

concurrency · durability · batching

Your code and the AI tutor open when you unlock this question.