System Design - api-design
#01 Security

Build an API Key Management System Premium

Design an API key platform that issues scoped keys with per-key rate limits, propagates revocations to all gateway nodes within 1 second, and provides usage analytics per key without adding latency to the hot path.

Read
#02 Distributed Systems

Build a Distributed Rate Limiter Across 100+ API Gateway Nodes Premium

Design a rate limiter that enforces per-user and per-tenant request limits globally across a horizontally scaled API gateway fleet, with no single coordinator bottleneck and sub-milliseclient enforcement latency.

Read
#03 Security

Build a DRM Token Vending System for Premium Video Premium

Design a digital rights management system that issues short-lived playback licenses to authenticated subscribers, prevents license sharing across accounts, and revokes access instantly when a subscription lapses.

Read
#04 Security

Build JWT Auth System at Production Scale Premium

A production-grade deep dive into designing a complete JWT authentication system: architecture, login flow, request verification, token rotation, key management, and security hardening.

Read
#05 Security

Build an OAuth 2.0 Authorization Server Premium

Design an OAuth 2.0 authorization server that supports PKCE for public clients, implements refresh token rotation to detect theft, and provides a token revocation endpoint that propagates across all resource servers within seconds.

Read
#06 Distributed Systems

Build a Schema Registry for Event-Driven Systems Premium

Design a schema registry that enforces backward and forward compatibility for Kafka topics, prevents breaking changes from reaching production, and lets consumers evolve independently of producers.

Read
#07 Microservices

Build WhatsApp Message Delivery with Offline Queuing Premium

Design an end-to-end encrypted messaging system that delivers messages to online users in under 100ms, queues messages durably for offline users, and guarantees delivery exactly once when they reconnect.

Read