StackPractices

Tag: routing

Browse 10 practical software engineering resources tagged with "routing". Discover code recipes, design patterns, documentation templates, and in-depth guides to help you build, deploy, and maintain production-ready solutions involving routing. Each resource is written for engineers who ship real systems, with copy-paste examples and practical trade-offs.

Routing and Navigation

Routing maps incoming requests or UI states to the right handler. It is a fundamental part of web frameworks, APIs, and network infrastructure.

The resources below cover HTTP routing, dynamic routes, nested routing, API gateways, reverse proxies, and frontend routers. Each guide explains how to design routing that is clear and scalable.

Every resource includes clear explanations, copy-paste code, and practical warnings. Use them to make informed decisions, avoid production pitfalls, and speed up your delivery. If you are just getting started, read the beginner-friendly articles first; if you are experienced, jump straight to the advanced patterns and architecture guides. New resources are added regularly, so bookmark this page and check back for the latest patterns.

Design a Scalable API Gateway for Microservices

Build an API gateway that routes requests, handles authentication, rate limiting, caching, and...

LLM Router Pattern

Route queries to different LLM models based on complexity, cost, and latency requirements. Classify...

Gateway Routing Pattern

Route requests to multiple backend services through a single entry point that handles cross-cutting...

Front Controller Pattern

Route all incoming requests through a single handler that dispatches to the appropriate page...

Complete Guide to LLM Cost Optimization

Optimize LLM costs in production. Covers model routing, prompt compression, caching, batch API,...

API Gateway Design: Resilience, Routing, and Security

A practical guide to designing API gateways: routing patterns, rate limiting, authentication,...

API Gateway: Routing, Auth, Rate Limiting

Master API gateway architecture: request routing, authentication, rate limiting, request shaping,...

Strangler Fig Migration: Incremental Legacy Replacement

Master the strangler fig pattern for incremental legacy migration: routing layer, feature flags,...

Complete Guide to Kubernetes Ingress

Configure and troubleshoot Kubernetes Ingress controllers. Covers NGINX Ingress, TLS, path routing,...

Complete Guide to RabbitMQ Architecture

Design and operate RabbitMQ for reliable messaging. Covers exchanges, queues, bindings, routing...