Every builder knows the temptation. When a system gets inconvenient — when the numbers stop being round, or the busy hour falls at an awkward time — it is easier to reach for a friendlier example. Serious back-end work refuses that move. It fixes one system, states its facts completely, and reasons about that system from beginning to end.

That discipline has a name: standing facts are a contract. Later work may add capability — authentication, caching, background jobs, deployment — but it may not quietly change the facts to make a design look better than it is.

One company, one service, stated once

Consider Pinnacle Pantry, a regional subscription company that delivers weekly pantry and meal boxes. A subscriber chooses a plan, picks three recipes from the week's menu each week, and receives one box. Subscribers may pause a week. The company's website and phone app are the clients. The subject is the single back-end service behind both, the Pantry Service, and its PostgreSQL database.

The stack is stated once and then held. The Pantry Service is a Node.js program written in TypeScript. It listens for HTTP requests, routes them to handler functions, and talks to PostgreSQL through parameterized queries — the query's shape fixed in code, its values sent separately, so a value can never rewrite the query. That separation is a security control, not a style preference. The service is stateless: everything that must survive a restart lives in the database. And it is a single program with modules, not a fleet of small services — at this scale, the honest architecture.

The numbers you are paged for

The standing facts are the numbers a builder learns the way you would learn a system you were about to be paged for.

There are 6,400 customers in total — everyone who has ever subscribed, including the lapsed. Of those, 4,800 hold active subscriptions. Each active subscription belongs to exactly one customer, and each customer holds at most one active subscription. In a typical week, 600 subscriptions are paused, so boxes shipped are 4,800 minus 600, which is 4,200 boxes.

Every box contains exactly 3 recipes, chosen from a menu of 8 offered that week, drawn from a rotating catalog of 24 recipes. Recipe selections per week are therefore 4,200 times 3, which is 12,600 selections. One box costs the subscriber $72, so weekly box revenue is 4,200 times $72, which is $302,400. Boxes shipped in a year are 4,200 times 52, which is 218,400 boxes.

Traffic completes the picture. The service answers an average of 38,000 requests a day. Its peak is the Monday menu deadline: between 6 and 7 p.m., subscribers rush to choose before the cutoff, and the service takes 9,600 requests in that hour — about 2.7 requests a second, arriving in bursts far above that average. The team is small: a lead developer, two developers, and an operations engineer who shares on-call.

None of these figures is decoration. Each will decide a later question, and each can be checked when a later claim quotes it.

Six nouns carry the whole business

The core data can be held in words before it is drawn formally. A Customer has a name, an email address, and a delivery address. A Subscription belongs to a customer, carries a plan and a status — active, paused, or canceled — and generates one Box per week while active. A Box belongs to a subscription, is tied to a week, holds three Recipe choices, and moves through states: being assembled, shipped, delivered. Each choice also records servings, 2 or 4. A Payment records each week's charge: amount, week, and whether it succeeded. An InventoryItem tracks pantry staples, with a quantity on hand.

Six nouns — Customer, Subscription, Box, Recipe, Payment, and InventoryItem — carry the whole business. The shape is already testable: if a proposed schema lets one customer hold two active subscriptions, it contradicts a sentence above, and that should be caught on paper, not in production.

What the service must do follows from the same facts: register and sign in customers, show the week's menu, record recipe choices before the Monday cutoff, pause and resume subscriptions, charge through an outside payment provider, tell the warehouse which boxes to pack, and answer "where is my box" at any hour. Every item is a request with a handler, a set of reads and writes, and a way to go wrong.

Why the average hour is the wrong test

The peak hour is where the discipline pays. A cache designed for the average hour can look sound across 38,000 requests spread over a day, and still fail between 6 and 7 p.m. on Monday, when 9,600 requests arrive against a deadline no subscriber wants to miss. A load claim that ignores that hour is not an approximation. It is fiction about a different system.

The same logic applies at the data layer. A rule in the facts — at most one active subscription per customer, exactly three recipes per box — is a constraint the schema, the handlers, and the tests must jointly enforce, because the business will behave as if it is true whether the code does or not.

That is the correction to the common misconception: "Standing facts are flavor — nice for stories, but real building starts when I open the editor." The facts are the building's foundation survey. Builders who skip the survey pour concrete over surprises: the schema that permits what the business forbids, the cache sized for the quiet hour, the estimate built on a rounder number than the one the system actually carries. Real building is less forgiving, and more useful, than that. The system you have is the system you reason about.

Experience it, don’t just read about it

Standing facts held as a contract — one fixed system, with its real numbers, that every later design must answer to — is Concept 2 of Back-End Development in Practice: Servers, APIs and Databases Behind the App (Course No. 336), from Cognosco Learning, a learning company powered by AI. The course builds the full service discipline beyond this distinction — The Data Model — Entities, Relationships, and Keys, Writing Data Safely — Transactions, Atomicity, and Rollback, and Concurrency and Duplicate Work — Races, Locks, and Idempotent Handlers — each worked through with an Agentic Socratic AI coach, one learner at a time. Try a Free Preview at cognoscolearning.com.

Try a Free PreviewAll Signature CoursesThe Corporate License

Navigate your own course.

← All Insights

© 2026 Cognosco Learning. All rights reserved.