Rate limiting (token bucket / leaky bucket)
Related service Custom software · everything else
DEFINITION
Caps how many calls a client / key / IP can make in a time window. Two main algorithms: token bucket refills at a fixed rate and each request spends a token · allows bursts up to capacity. Leaky bucket releases at a fixed rate and drops or queues overflow · smoother, less burst-friendly. In production you implement it on Redis (`INCR` + `EXPIRE` or Lua) or at the edge (Cloudflare, Vercel). Always include a `Retry-After` header on a 429.
- Docker→
We package an app with its dependencies into an image, which runs as a container - identical on your laptop and in production. "Works on my machine" stops being an excuse.
- CI/CD→
Continuous Integration / Delivery: every commit is automatically built, tested and (optionally) deployed. This pipeline lets us ship safely many times a day, without manual mistakes.
- Blue-Green Deployment→
We run two identical environments: blue is live, green is the new version. Once green is verified we flip traffic to it; on trouble we flip back instantly. Zero-downtime releases with instant rollback.
- Horizontal Scaling→
We add more machines/instances (scale out) instead of one bigger box (vertical, scale up). For stateless services this wins: cheaper, more elastic, no ceiling. State goes to a separate store.
- Load Balancer→
Distributes incoming traffic across multiple instances - the front door that gives you redundancy and smooth scaling. Health checks remove dead instances, so one failure stays invisible to users.
- Distributed Tracing→
We follow one request across every service using a trace ID (e.g. OpenTelemetry). In a microservices system this is how we pinpoint which service slowed down or failed - no guessing.
- 0114 May 2026The 2026 smart contract security checklist before you ship→
- 0230 Apr 2026Smart contract audit pricing in 2026: €4k vs €15k vs €60k→
- 0329 Apr 2026NIS2 readiness for EU SaaS · the 90-day playbook→
- 0426 Apr 2026OWASP LLM Top 10 v2 · what changed and what to ship→
- 0526 Apr 2026The CSP we ship · with notes on why each directive is there→
- 0622 Apr 2026Signed-firmware OTA pipeline · the 2026 default we ship→
- 0722 Apr 2026Agentic AI · the safe tool-use pattern we ship by default→
- 0822 Apr 2026Solana smart contract gotchas every Anchor dev hits in 2026→