// TOPIC

#reliability

9 articles

◆◆◆AdvancedTemporalRestate
01

Durable Execution: How Temporal-Style Replay Works

Durable execution is event sourcing plus deterministic replay applied to your code. How Temporal-style engines journal effects, replay crashes, and break.

#distributed-systems#reliability#architecture
21 min
◆◆IntermediateStripeSvix
02

Design a Webhook Delivery System

Design a webhook delivery system: fan-out queues, retries with backoff and jitter, HMAC signing, circuit breakers, and dead-letter redelivery at Stripe scale.

#interview#messaging#queues
18 min
◆◆IntermediateAnthropicOpenAI
03

Model Context Protocol (MCP) and Tool-Use Infrastructure

How MCP lets any LLM host discover and call any tool server — collapsing N×M integrations to N+M, with the security, reliability, and token math that matters.

#ai#llm#agents
31 min
◆◆◆AdvancedCloudflareOpenAI
04

Design an LLM Gateway (AI Gateway & Model Router)

Design an LLM gateway: one proxy in front of every model provider, with automatic failover, semantic caching, per-team budgets, and SSE streaming under 50 ms.

#interview#ai#llm
33 min
◆◆◆AdvancedOpenAIAnthropic
05

Design an AI Agent Platform

Design an AI agent platform: durable checkpointed runs, idempotent tool calls, tiered memory, and per-tenant safety guardrails around an unreliable LLM core.

#interview#ai#agents
27 min
◆◆◆AdvancedAmazonGoogle
06

Design a Distributed Job Scheduler (cron at scale)

Run millions of scheduled and recurring jobs reliably — at-least-once execution, leader election, sharded time-wheels, and exactly-once side effects via idempotency.

#interview#distributed-systems#scheduling
25 min
◆◆IntermediateNetflixLinkedIn
07

Backpressure & Flow Control

What happens when a fast producer overwhelms a slow consumer? Backpressure, bounded buffers, load shedding, and why unbounded queues are a trap.

#distributed-systems#reliability#streaming
17 min
◆◆IntermediateStripeAmazon
08

Idempotency & Exactly-Once Semantics

Networks retry, so your operations will run twice. Idempotency keys, dedup, and why "exactly-once delivery" is a myth but "exactly-once effect" is achievable.

#distributed-systems#reliability#messaging
19 min
◆◆Intermediate
09

Reliability and Failure Patterns

Timeouts, retries with backoff, circuit breakers, bulkheads, deadlines, hedged requests, and graceful degradation — the patterns that keep distributed systems standing.

#reliability#resilience#distributed-systems
15 min