HS algorithm for Leader Election in Distributed Systems

Arpit Bhayani
Arpit Bhayani
6.4 هزار بار بازدید - 2 سال پیش - System Design for SDE-2 and
System Design for SDE-2 and above: arpitbhayani.me/masterclass System Design for Beginners: arpitbhayani.me/sys-design Redis Internals: arpitbhayani.me/redis Build Your Own Redis / DNS / BitTorrent / SQLite - with CodeCrafters. Sign up and get 40% off - app.codecrafters.io/join?via=arpitbbhayani In this video, we delved into the importance of leader election in distributed systems and explored the synchronous ring-based hs algorithm. This algorithm operates on a bi-directional network with a communication complexity of O(n log n), efficiently electing a new leader in case of failures. We discussed the system design course I offer, focusing on hands-on learning with a small cohort. The hs algorithm's key points include nodes pitching themselves as leaders, identifying local and global maxima, and efficiently reducing communication complexity. Recommended videos and playlists If you liked this video, you will find the following videos and playlists helpful System Design:    • PostgreSQL connection management and ...   Designing Microservices:    • Advantages of adopting a microservice...   Database Engineering:    • How nested loop, hash, and merge join...   Concurrency In-depth:    • How to write efficient and fair multi...   Research paper dissections:    • The Google File System - Paper Explained   Outage Dissections:    • Dissecting GitHub Outage and things t...   Hash Table Internals:    • Internal Structure of a Hash Table   Bittorrent Internals:    • Introduction to BitTorrent and the pr...   Things you will find amusing Knowledge Base: arpitbhayani.me/knowledge-base Bookshelf: arpitbhayani.me/bookshelf Papershelf: arpitbhayani.me/papershelf Other socials I keep writing and sharing my practical experience and learnings every day, so if you resonate then follow along. I keep it no fluff. LinkedIn: linkedin.com/in/arpitbhayani Twitter: twitter.com/arpit_bhayani Weekly Newsletter: arpit.substack.com/ Thank you for watching and supporting! it means a ton. I am on a mission to bring out the best engineering stories from around the world and make you all fall in love with engineering. If you resonate with this then follow along, I always keep it no-fluff.
2 سال پیش در تاریخ 1401/06/01 منتشر شده است.
6,423 بـار بازدید شده
... بیشتر