Skip to content
AnupTechTips
  • System Design
  • GenAI
    • LLM
  • Python
  • About Me

AnupTechTips

  • System Design
  • GenAI
    • LLM
  • Python
  • About Me

System Design

Practical guides on System Design, Backend Architecture, and GenAI Infrastructure for modern applications.

LLM Gateway Architecture: Routing, Caching, Fallbacks and Budgets

Last Updated on: October 15, 2026 by Anup Das
LLM gateway architecture: routing, fallbacks and budgets

An LLM gateway is failure handling on one request path: routing, retries, a circuit breaker, streaming fallbacks and per-tenant budgets, with a FastAPI gateway you can run and the numbers its tests measured.

Rate Limiting Algorithms: Token Bucket vs Sliding Window

Last Updated on: October 16, 2026 by Anup Das
Rate limiting algorithms: token bucket vs sliding window, six rate limiters measured

Six rate limiting algorithms run through the same 100-a-minute limit and the same traffic, with what each let through, what it costs in Redis, and atomic Lua code for Python.

Idempotency Keys: How to Make Retries Safe in Distributed Systems

Last Updated on: October 16, 2026 by Anup Das
Idempotency keys: a POST and its retry with the same key produce one 201 response

A timeout can’t tell you whether the card was charged, so an idempotency key lets the retry get the original result back instead of charging twice.

Anup Das

I’m an Applied AI Systems Architect sharing practical deep dives on System Design, Backend Architecture, GenAI Infrastructure, and scalable Python applications.

Connect with us

AnupTechTips

Clear, practical writing on system design, GenAI and Python, by Anup Das.

Topics

  • System Design
  • GenAI
  • LLM
  • Python

Site

  • About
  • Newsletter
  • Privacy policy
  • RSS feed

Follow

  • LinkedIn
  • GitHub
  • Medium
  • X (Twitter)
©2026 AnupTechTips

Necessary cookies enable essential site features like secure log-ins and consent preference adjustments. They do not store personal data.
None
Functional cookies support features like content sharing on social media, collecting feedback, and enabling third-party tools.
None
Analytical cookies track visitor interactions, providing insights on metrics like visitor count, bounce rate, and traffic sources.
None
Advertisement cookies deliver personalized ads based on your previous visits and analyze the effectiveness of ad campaigns.
None
Unclassified cookies are cookies that we are in the process of classifying, together with the providers of individual cookies.
None