Real backend engineering problems inspired by production systems. Write and execute real code.
Design a sliding window rate limiter for an API gateway handling 1M+ requests/min. Must be thread-safe with O(1) allow() and support 10K+ concurrent clients.
Build a BFF that aggregates data from 3 downstream microservices in parallel with timeouts, error isolation, and request tracing. Failed sections degrade gracefully instead of crashing the page.
Build an experiment evaluation service with deterministic user-to-variant assignment using FNV-1a hashing, traffic allocation buckets, and attribute-based targeting rules.
Build a middleware chain with sliding window rate limiter (100 req/min), circuit breaker (5 failures → open), and semaphore-based load shedder (50 concurrent max).
Build an auth gateway that validates JWTs once, creates a base64-encoded passport with user claims, and propagates it downstream. Supports idempotency keys and proxy state for cache optimization.