32 articles  ·  Go  ·  Backend  ·  Performance

Go & web development, explained by example

Practical tutorials on Go, backend architecture, performance and DevOps — every post built around code you can run.

More articles

Prompt Caching: The Cheapest Win in Your LLM Bill

AI Engineering

Prompt Caching: The Cheapest Win in Your LLM Bill

Prompt caching is a prefix match, and one stray timestamp can silently disable it. How cache breakpoints, TTLs and the usage fields actually work — and how to build…

 ·  10 min

Rate Limiting Go APIs with golang.org/x/time/rate

Go Programming

Rate Limiting Go APIs with golang.org/x/time/rate

Protect your Go HTTP APIs with token bucket rate limiting: per-client limiters, middleware, the standard rate limit headers, client-side throttling and when to move…

 ·  9 min