Whenever you're ready, walk me through how you'd approach this.
Given a scenario where a database acquires a write lock every 15 minutes and is read-heavy, acquiring a read lock every 30 seconds, how would you optimize the locking mechanism?
Asked in the managerial round stage. Explain how you would reduce contention while preserving correctness, including the information you would measure before changing the design.