Implement a Concurrent Buffered File Logger
Company: Databricks
Role: Software Engineer
Category: Software Engineering Fundamentals
Difficulty: medium
Interview Round: Onsite
Quick Answer: Design a logger that accepts writes from many threads, buffers records, and appends them safely to one file while preserving a documented ordering guarantee. Make the API or object boundaries explicit, then cover invariants, edge cases, testing strategy, and operational trade-offs.