Consistent Hashing For Idiots By Idiots
Автор: Blueprint Lab
Загружено: 2026-02-20
Просмотров: 22
Описание:
Your startup went viral, you hit 2 billion users, but there is a massive silent killer lurking in your backend. When your master database hits 50 terabytes and queries go from 10 milliseconds to 10 seconds, you can't just buy a bigger server. You need to shard.
But if you pick the wrong routing architecture, you will take your entire unicorn offline.
In this video, we break down the most complex routing problem in distributed systems. I explain why traditional modulo hashing is a "death trap" that causes rehashing storms, and how to implement the "God-tier" architecture powering Discord, Netflix, and DynamoDB: Consistent Hashing with Virtual Nodes.
What you will learn in this video:
Why vertical partitioning eventually fails under massive scale.
The hotspot problem in shared-nothing architectures.
How a rehashing storm can instantly kill your entire network.
How the clockwise ring rule in consistent hashing prevents data loss.
Using Virtual Nodes (mathematical constructs) to evenly distribute load and survive physical server failures.
Chapters:
0:00 - The 50 Terabyte Database Problem
1:02 - Vertical vs. Horizontal Partitioning (Sharding)
2:12 - The Modulo Hashing Death Trap
3:03 - Consistent Hashing Explained (The Ring)
4:05 - The Hotspot Problem & Server Choking
4:54 - The Fix: Virtual Nodes & Hash Functions
6:12 - Surviving Physical Server Crashes
7:42 - Teaser: The CAP Theorem & Network Cuts
Don't forget to subscribe for more enterprise-grade system design breakdowns! Next up: The CAP Theorem.
Copyright Disclaimer:
Under section 107 of the Copyright Act 1976, allowance is made for “fair use” for purposes such as criticism, comment, news reporting, teaching, scholarship, education, and research. Fair use is a use permitted by copyright statute that might otherwise be infringing. Non-profit, educational, or personal use tips the balance in favor of fair use. All rights to the copyrighted materials belong to their respective owners.
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: