2 Review of hash tables and modern hashing

This chapter covers

  • Reviewing dictionaries and why hashing is ubiquitous in modern systems
  • Refreshing the basic collision-resolution techniques
  • Exploring cache efficiency in hash tables
  • Using hash tables for distributed systems and consistent hashing
  • Learning how consistent hashing works in P2P networks

We begin with the topic of hashing for a number of reasons. First, classical hash tables have proved irreplaceable in modern systems, making it harder to find a system that does not use them than one that does. Second, recently there has been a lot of innovative work addressing algorithmic issues that arise as hash tables grow to fit massive data, such as efficient resizing, compact representation, ...

Get Algorithms and Data Structures for Massive Datasets now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.