← the garden

A small game

Keep it green

What does it actually cost to keep a website up? Five short levels, from one visitor to millions, on madtown.today's real numbers.

Level 1 of 5

One visitor

Someone opens madtown.today to play the daily puzzles and leaves the tab open. Watch what that tab does while they look at it.

A visitor's tabmadtown.todayThe greenhouseVercelThe barrelUpstash database
Tab open
0:00
Asked “anything new?”
1
Something was new
0
Database calls
7

Time runs 4× fast: one ask a second.

Watch for a moment, then guess.

Across a whole day, about how many database calls does one madtown visitor cost?

How the numbers work

Where every number comes from, and what isn't counted

The visitors are real: madtown.today's daily counts, the same ones behind day by day. A visitor is one browser on one Madison day, and on madtown a leaf is 10 of them (the smaller pots use smaller leaves, and each pot says how many). In level 5, after the real months, it grows: four made-up months at 10, 100, 1,000 and 10,000 times the last four weeks, up to a few million people a day. They say they're made up; the prices and limits are real.

Dungeon Garden and calebs.garden don't publish counts, so they play an example: ten tables of six playing one night a week each, and a few dozen readers a day. Dungeon Garden's costs per session are measured: its capacity report replayed a four-hour session (a DM laptop, a TV and five phones) on the real code and counted every request, row and upload. That's also where the 12-sessions-a-day limit for older tables comes from.

madtown's water is the database. Today one visitor-day costs madtown about 6,500 database calls, mostly open tabs asking whether anything changed. Levels 1 and 4 draw each ask as about 7 database calls; that split is my estimate, the 6,500 a day is measured. The can, tap and barrel are Upstash's free tier, pay-as-you-go price and the $15 fixed plan I'm on, and the barrel's limit is the one I measured on it. The greenhouse is Vercel, priced from one real billing cycle: a $20 minimum, plus logging, functions and builds that grow with traffic.

The digs are the steps in the migration plan, with my own guesses at how long each takes. After the well, a visit is about 5 requests to a Durable Object instead of thousands of database calls; after the move, about 35 requests to a Worker on Cloudflare's $5 plan. Those are estimates until the move happens. A real site wouldn't wilt all at once, it would start failing for some people, but that's what the brown leaves stand for.

At the big sizes, three limits do the work. Upstash's fixed plans answer 10,000 to 16,000 calls a second, which at today's 4-second poll, with a morning rush three times the average, is about 44,000 to 70,000 people a day. One Durable Object handles about 1,000 requests a second, so one room tops out around 1.4 million people a day, at my guess of 20 room events a person. Workers charge for requests and CPU time but not bandwidth. Vercel's bandwidth past what the plan includes isn't counted, so its big-month bills are, if anything, low. Prices and limits were checked on 29 November 2026.