Skip to content
LUDA · 學思辨行

LUDA · 學思辨行

Learn extensively, Understand deeply, Discern clearly, and Act resolutely.

  • About
  • Learning Path

Category: Distributed Systems

How two-phase commit records one decision

November 13, 2026By HoHo Zhao

Short answer: Two-phase commit makes a set of participants install one outcome, commit or abort, for a single transaction. The coordinator collects a vote. A participant who votes yes first writes a record that it will accept the coordinator’s later decision. If every vote is yes, the coordinator writes…

Algorithms, Distributed SystemsLeave a comment

How rendezvous hashing picks the highest score

November 13, 2026By HoHo Zhao

Short answer: Rendezvous hashing, or highest random weight, places a key on the node that maximizes a hash of the key mixed with the node id. Every node computes the same scores, so every client agrees. Adding or removing a node moves only the keys for which that node…

Algorithms, Distributed SystemsLeave a comment

How consistent hashing places keys on a ring

November 13, 2026By HoHo Zhao

Short answer: Consistent hashing maps keys and nodes onto a circle by a hash. A key is stored on the first node at or clockwise from the key’s point. Adding or removing a node moves only the keys that walk past that node, about 1/n of the keys when…

Algorithms, Distributed SystemsLeave a comment
  • Algorithms
  • Arithmetic
  • Authelia
  • Clustering
  • Coding
  • Compression
  • Cryptography
  • CSS
  • Distributed Systems
  • Docker
  • Dynamic Programming
  • Exact Algorithms
  • Games
  • Geometry
  • Grafana
  • Graphs
  • Greedy
  • Heaps
  • Homelab
  • IPsec
  • LDAP
  • Linear Algebra
  • Logging
  • Loki
  • nginx
  • Number Theory
  • Numerical
  • Optimization
  • Parsing
  • Prometheus
  • Randomization
  • Range Queries
  • Sampling
  • Scheduling
  • Search
  • Searching
  • Sequences
  • Sketches
  • Sorting
  • Streams
  • Strings
  • SVG
  • Synchronization
  • Systems
  • Transforms
  • Trees

Docker EAP-MSCHAPv2 FreeRADIUS Grafana gzip IKEv2 IPsec LogQL Loki OpenLDAP Promtail StrongSwan

© 2026 LUDA · 學思辨行. Powered by WordPress.