System Design Classic
A rate limiter protects APIs from abuse and ensures fair resource allocation across clients. This Azure-native design implements multiple algorithms — token bucket for smooth rate limiting, sliding window log for precise counting, and fixed window counter for simplicity. The distributed implementation uses Azure Redis Cache for atomic counter operations across multiple API Management instances, with per-client and per-endpoint configurable limits.
Share this architecture with your network
Azure Redis Cache provides atomic increment operations for counter-based rate limiting across all API Management instances. Rate limit rules are stored in Cosmos DB and cached locally with short TTLs. The token bucket algorithm runs as an Azure Functions policy at the API Management layer, adding zero latency for requests within limits. Azure Monitor tracks rate limit hits for alerting and capacity planning.
URL Shortener System
System Design Classic
High-throughput URL shortening service with analytics, custom aliases, and 301/302 redirect handling at scale.
Pastebin System
System Design Classic
Text sharing service on OCI with unique short URLs, expiration policies, and read-heavy optimization using Functions and NoSQL.
Multi-Tenant SaaS Platform
Generic SaaS
Production-ready multi-tenant SaaS with tenant isolation, feature flags, usage metering, and self-serve onboarding.
Data Lake & Analytics Platform
Modern Data Stack
Cloud-native data lake with streaming ingestion, batch ETL, query engine, and BI dashboards. Handles petabyte-scale analytics.
YouTube Video Streaming System
YouTube / Google
Video upload, transcoding, and adaptive bitrate streaming on GCP handling 500+ hours of video uploaded per minute.
Notification System
System Design Classic
Multi-channel notification system on Azure supporting push, email, SMS, and in-app notifications with Event Grid fan-out.
Rate Limiter System
Remix this architecture in Canvas