How to manage fine-grained locking of hierarchical data structures | Hacker News Reader