Search⌘ K

Concurrent Hash Table

Explore how to build a concurrent hash table that uses individual locks per hash bucket, allowing multiple operations to run concurrently. Understand why this design improves scalability and performance compared to single-lock data structures, and learn to apply concurrency concepts to dynamic data management.

We'll cover the following...

Let’s end this chapter with a simple and widely applicable concurrent data structure, the hash table. Let’s focus on a simple hash table that does not resize. A little more work is required to handle resizing, which is ...