Blog
Home

Tagged “cost-optimization”

← All articles
My Azure Function's log bill was telemetry I never asked for

29 October 2026

Part 3 of the cost series. The blog's Function app spent 79% of its bill on Log Analytics ingestion. I guessed it was my log lines. It was metrics the Azure Functions host sends on its own, and it took three tries to stop them: a fix in the wrong process, a setting that did nothing, and a one-line change in host.json. What the numbers showed, what the fix cost me, and why I only found it by accident.

What the Change Feed pushes did to the bill: the container dropped, the Function app didn't

25 October 2026

Follow-up to my caching post. Daily Azure costs from September 25 to October 25 show the blog's Container App going from about 55 cents a day to one cent the day the article pages moved to Cloudflare KV, and the Function app that does the pushing getting more expensive at the same time. Real numbers, an intermediate result, and the one comment call that made the first two steps save nothing.

Three layers of caching in front of a container that scales to zero

26 September 2026

My blog's API is an Azure Container App that scales to zero, with a 30 second cold start. How three layers of caching keep readers from ever waiting on it: a stale-while-revalidate cache in a Cloudflare Worker, a durable KV fallback for Cloudflare's per-colo cache, and Cosmos DB Change Feed pushes so reads stop waking the container at all. With real monthly costs, and the trade-offs I accepted instead of solving.