Resource Estimation in Real World Scenarios 00:00:01 Convert published totals to average rates Wikimedia recorded about eleven and a half billion human-classified pageviews across its projects in October twenty twenty-six. That sounds enormous, but the useful engineering question starts with a date, a unit and a time window. The Wikimedia October total works out to about four thousand three hundred user-classified pageviews per second on average across its projects. In twenty thirteen Twitter Engineering reported more than five hundred million posts per day, roughly fifty-seven hundred a second, and a brief peak of about a hundred forty-three thousand a second. In twenty twenty-five Google reported more than five trillion annual searches. Spread over a full year, five trillion averages about a hundred fifty-nine thousand searches per second. In its third-quarter twenty twenty earnings call, Facebook reported roughly a hundred billion WhatsApp messages per day. That means about 1.2 million messages per second on average. Cloudflare reported more than eighty-one million HTTP requests per second on average in its twenty twenty-five review, with peaks above a hundred twenty-nine million. This is traffic for many different web properties. For an unrelated hypothetical service, two million requests a day average about twenty-three per second. Test its real peak and per-request cost before deciding how many machines that requires. Historical traffic observations provide scale anchors, not sizing rules. The engineering teams measured different things in different years, and averages across seconds cannot describe the busiest individual second. 00:01:38 Cross-check an impressive byte claim A figure that was repeated for years: Netflix streams 15 PB a day. Consider a claim about daily streaming bytes. Check the claim against a deliberately simple per-membership viewing assumption before accepting a number merely because it sounds large. Netflix reported 301.63 million memberships at the end of 2024. That leaves 50 MB each. At 5 Mb/s, 50 MB is 80 seconds. One hour each would be 680 PB a day. Not a matter of rounding: it is about 45 times too small for one hour. Do not use it. Divide a claimed daily total by the number of memberships, then divide by the example video bitrate. If it supports only seconds of viewing instead of an hour, the discrepancy is much larger than rounding. 00:02:30 When a cache works almost too well 50,000 reads a second and a rising hit ratio. All 50,000 reach the database: five times the planning line. 25,000. Still too many. 10,000: exactly on the line. 2,500: a quarter of the line. 500. The last four points cut it by five. All 50,000 come back at once. A good hit ratio is also a risk. A high hit rate means the origin has little experience with the full arriving workload. Calculate normal origin traffic and the cold-cache traffic separately before relying on the same available capacity in both cases. 00:03:08 Benchmark the work this service actually does The capacity of one API server, from a rule of thumb to a number to plan with. Someone proposes one to five thousand simple requests per second for a four-core API worker. Treat the figure as a hypothesis about a workload, never as a property printed on the machine. Ours uses 5 ms of CPU. 4 divided by 0.005 is 800 a second. The label does not fit us. At 650 a second the latency target breaks. 70% of 650 is 455. Peak load divided by 455, plus a spare. A claim for simple requests is no substitute for the CPU time needed by this program. Theoretical processor capacity, a measured latency limit and an operational headroom target are three different numbers. 00:04:06 Read a sample bill as arithmetic 20 m5.large at about 70 dollars: 1,400. 2 at 130: 260, disks extra. 3 nodes at 158: 474. 10 TB at 23: 230. 5 TB at 90: 450. Twice the storage, for half the terabytes. About 2,800 dollars a month. Servers are half of it. The following is an illustrative worksheet with fixed assumed unit prices, not a current cloud quote. Actual region, contract, traffic direction, storage class and discounts change what a provider charges. 00:04:51 Tenfold growth can expose several different limits 100,000 users: 170 requests a second at peak. A million users: 1,700. Ten million: 17,000. Past one database for reads. A hundred million: 170,000. Data is split. Beyond that, parts are built for one job each. Write down the first resource that changed its answer at each scale. A useful estimate says which boundary to investigate next and leaves a measurement that can later prove the estimate wrong. Keep a published observation, a workload assumption and a benchmark result in separate columns. That discipline lets a team learn from another service's scale without pretending to operate on the same machines.