Topic

#Distributed Systems

25 posts tagged “Distributed Systems”.

Chisato Chisato · · 5 min read

Gossip Protocols Explained: How Clusters Share State

A gossip protocol spreads information through a cluster by having each node periodically share state with a few random peers. How it works and its trade-offs.

#Distributed Systems #Cloud #Computer Science
Chisato Chisato · · 4 min read

Byzantine Fault Tolerance Explained

Byzantine fault tolerance lets a distributed system keep working correctly even when some nodes fail arbitrarily or actively lie, not just crash cleanly.

#Distributed Systems #Computer Science #Databases
The Lycoris Team The Lycoris Team · · 4 min read

What Is the Strangler Fig Pattern?

The strangler fig pattern replaces a legacy system incrementally by routing traffic to new services piece by piece, until nothing old remains.

#Backend #Distributed Systems #Software Architecture
Chisato Chisato · · 5 min read

Raft vs Paxos: Consensus Algorithms Compared

Raft and Paxos both let a distributed cluster agree on a value despite failures — Raft trades some flexibility for a design built to be understood.

#Distributed Systems #Computer Science #Databases
Chisato Chisato · · 4 min read

What Is the Outbox Pattern in Microservices?

The outbox pattern writes an event to the same database transaction as a state change, then publishes it reliably — solving the dual-write problem.

#Distributed Systems #Databases #Cloud Infrastructure
Chisato Chisato · · 4 min read

What Are Vector Clocks? Ordering Distributed Events

A vector clock is a per-node counter array that lets distributed systems tell whether one event happened before another, without a shared clock.

#Distributed Systems #Databases #Cloud
The Lycoris Team The Lycoris Team · · 4 min read

Quorum Consensus Explained: N, W, and R

Quorum consensus lets distributed databases tune consistency and availability by requiring reads and writes to touch overlapping subsets of replicas.

#Databases #Distributed Systems #Cloud
The Lycoris Team The Lycoris Team · · 4 min read

Read-Your-Writes Consistency Explained

Read-your-writes consistency guarantees a client sees its own writes immediately, even when other clients might not yet. How it's implemented.

#Databases #Distributed Systems #Computer Science
The Lycoris Team The Lycoris Team · · 5 min read

Two-Phase Commit vs. Saga Pattern Explained

Two-phase commit locks resources until every node agrees to a transaction; the saga pattern trades that guarantee for availability using compensating steps.

#Databases #Distributed Systems #Computer Science
The Lycoris Team The Lycoris Team · · 5 min read

What Is a Distributed Lock?

A distributed lock coordinates exclusive access to a shared resource across multiple processes or machines, preventing race conditions in distributed systems.

#Databases #Distributed Systems #Backend
Chisato Chisato · · 4 min read

PACELC Theorem Explained: Beyond CAP

PACELC extends CAP theorem by adding a tradeoff that applies even when there's no partition: latency versus consistency. Here's how it works.

#Databases #Distributed Systems #Computer Science
Chisato Chisato · · 5 min read

Synchronous vs Asynchronous Database Replication

Synchronous replication waits for a replica to confirm a write before committing; asynchronous doesn't. The choice trades latency against durability.

#Databases #Distributed Systems #Cloud
Chisato Chisato · · 4 min read

Token Bucket vs Leaky Bucket Rate Limiting

Token bucket allows bursts up to a cap; leaky bucket smooths traffic to a constant rate. How each rate-limiting algorithm works and when to pick it.

#Backend #Distributed Systems #Developer Tools
Chisato Chisato · · 4 min read

What Is the Bulkhead Pattern? Isolating Failures

The bulkhead pattern isolates resources per dependency so one failing service can't exhaust the pools that healthy services depend on.

#Backend #Distributed Systems #Cloud
Chisato Chisato · · 4 min read

Event Sourcing Explained: Store Changes, Not State

Event sourcing stores every state change as an immutable event instead of overwriting current state. How it works, and when CQRS pairs with it.

#Backend #Distributed Systems #Software Architecture
Chisato Chisato · · 5 min read

Exponential Backoff and Retry Strategies Explained

Exponential backoff spaces retries further apart after each failure so clients stop hammering a struggling service. How it works, and why it needs jitter.

#DevOps #Cloud #Distributed Systems
The Lycoris Team The Lycoris Team · · 5 min read

The Raft Consensus Algorithm, Explained

Raft is a consensus algorithm that lets a cluster of servers agree on a shared state even when some nodes fail. How leader election and log replication work.

#Distributed Systems #Computer Science #Databases
Chisato Chisato · · 4 min read

Active-Active vs Active-Passive Architecture

Active-active runs every region live and load-balanced; active-passive keeps a standby idle until failover. How each affects cost, consistency, and recovery.

#Cloud #DevOps #Distributed Systems
Chisato Chisato · · 5 min read

The Pub/Sub Pattern Explained

Publish-subscribe decouples senders from receivers through a message broker, letting services communicate without knowing who's listening.

#Distributed Systems #Cloud #Architecture
The Lycoris Team The Lycoris Team · · 5 min read

What Is Two-Phase Commit (2PC)? Distributed Transactions

Two-phase commit coordinates a transaction across multiple databases with a prepare phase and a commit phase, trading availability for strong consistency.

#Databases #Distributed Systems #Computer Science
Chisato Chisato · · 4 min read

What Is Eventual Consistency in Distributed Systems?

Eventual consistency guarantees that replicas converge over time, not instantly. How it differs from strong consistency and when it's acceptable.

#Databases #Distributed Systems #Computer Science
Chisato Chisato · · 4 min read

CAP Theorem Explained: Consistency vs Availability

CAP theorem says a distributed system can't guarantee consistency, availability, and partition tolerance all at once. What the trade-off means in practice.

#Databases #Distributed Systems #Computer Science

← All topics