Learn AI, Data Science & Business — Earn Certificates That Get You Hired
Learn Backend Development Part-Time, Online
Overview
Google, IBM & Meta Certificates – 40% Off
One plan covers every Professional Certificate on Coursera.
Unlock All Certificates
Discover the power of consistent hashing in Python applications through this 44-minute conference talk from EuroPython 2017. Explore how this technique, commonly used in NoSQL database clusters, can be applied to solve data distribution and access reliability challenges in everyday development. Follow along as the speaker guides you from a standalone design to an optimized clustered version, demonstrating practical use cases and implementation strategies. Learn about key concepts such as hash rings, continuums, and the selection of appropriate hash functions. Gain insights into Python-specific implementations, including the dict and memcache modules, and understand when consistent hashing may not be the optimal solution. By the end of this talk, acquire valuable knowledge to enhance your Python applications' scalability and efficiency.
Syllabus
Introduction
Mapping
Mapping as a key
Pythondict implementation
Key remapping
The hash ring
The continuum
The problem
Which hash function to use
V nodes
Youre assuring
Example use cases
Example use case 2
Example use case 3
Python memcache
Not winning
Thank you
Comment
Taught by
EuroPython Conference