← Questions

Choosing lock granularity for concurrent storage

0
MicrosoftCodingLast asked Jan 2026

For a storage component used by many threads, compare one global lock, per-partition locks and per-object locks, plus reader-writer locks. Discuss throughput, deadlock risk and operations that touch several objects. Only the title of this report was public.

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