arthrop0d

Brief articles on varied topics.

distributed systems

19 articles tagged distributed systems.

  1. Consistent Hashing Rings and Virtual Nodes

    How a hash ring and virtual nodes assign keys to servers while limiting the data remapped when the server set changes.

    algorithmsdistributed systems

  2. Raft Leader Election

    How Raft uses terms, randomized timeouts, and RequestVote messages to elect one leader and reject split or stale candidates.

    distributed systems

  3. Google Spanner TrueTime and Commit-Wait

    How TrueTime expresses bounded clock uncertainty and how Spanner uses commit-wait to order transactions consistently across regions.

    googledistributed systems

  4. Tail-Based Trace Sampling

    How collectors hold complete traces long enough to keep failures and slow requests while discarding routine traffic.

    observabilitydistributed systems

  5. Consistent Hashing, Hash Rings, and Virtual Nodes

    Consistent hashing assigns keys around a ring so adding or removing servers remaps only a small portion of the keyspace.

    algorithmsdistributed systems

  6. HTTP Idempotency Keys and Safe Request Retries

    How servers use idempotency keys to recognize retries, replay the first result, and handle concurrent requests or lost responses.

    api designdistributed systems

  7. Tail-Based Distributed-Trace Sampling

    How collectors buffer spans, make trace-wide sampling decisions, and keep complete useful traces without exhausting memory or ingestion capacity.

    observabilitydistributed systems

  8. Amazon SQS Visibility Timeouts and Receipt Handles

    How SQS hides received messages, uses receipt handles for deletion, and produces duplicate processing when workers outlive visibility timeouts.

    amazon web servicesdistributed systems

  9. Consistent Hashing and Virtual Nodes

    See how a hash ring assigns keys to members, and why membership changes remap only a small, predictable portion of the data.

    algorithmsdistributed systems

  10. Raft Leader Election and Majority Voting

    How Raft uses terms, randomized timeouts, and majority votes to elect one leader and keep conflicting log entries from being committed.

    distributed systemsalgorithms

  11. Hybrid Logical Clocks

    How hybrid logical clocks combine wall-clock readings and counters to preserve causality across distributed systems despite clock skew.

    distributed systemsalgorithms

  12. Quorum Reads and Writes in Replicated Datastores

    How N, R, and W thresholds trade consistency for availability when replicated datastore nodes fail or lag.

    distributed systemsdatabases

  13. Consistent Hashing Rings and Virtual Nodes

    Learn how hash rings and virtual nodes assign cache keys so adding or removing a host remaps only a fraction of the keyspace.

    distributed systemsalgorithms

  14. How W3C Trace Context Propagates Distributed Traces

    Learn how traceparent carries trace identity, parent-child span relationships, and sampling decisions across service boundaries.

    observabilitydistributed systemsnetworking

  15. How Raft Leader Elections Work

    Raft uses numbered terms, randomized timeouts, majority votes, and log checks to elect one safe leader and recover from split votes.

    distributed systemsalgorithms

  16. Amazon SQS Visibility Timeout and Message Processing

    Understand how SQS hides received messages, why crashes cause redelivery, and how workers safely extend processing time.

    amazon web servicesdistributed systems

  17. How Tail-Based Trace Sampling Works

    Tail-based sampling waits for a trace’s outcome, then keeps or discards every span using evidence from the complete trace.

    observabilitydistributed systems

  18. Amazon S3 Multipart Uploads

    How S3 uploads large objects as verified parts, assembles them atomically, and why incomplete uploads must be aborted or expired.

    amazon web servicesdistributed systems

  19. Consistent Hashing on a Ring

    How consistent hashing assigns keys around a ring, uses virtual nodes to balance load, and limits key movement during membership changes.

    distributed systemsalgorithms

← All tags