How it works
Not every decision deserves the same care. Adding a cache, swapping a job table for a broker, or moving to a larger machine can usually happen later with little damage, because the change is mostly internal. Put early effort into what is expensive to undo, and decide the rest quickly.
Three categories are hard to undo. The data model: adding a customer ID to every row later means backfilling every table and auditing every query, and history you never recorded cannot be recreated. Public APIs: once customers integrate, a change needs versioning and a deprecation period, and even undocumented behavior gets depended on. Data ownership: if two systems both write a customer’s address, they can end up disagreeing, so name one source of truth for each kind of data.
For each decision you defer, write down the evidence that would change your mind, which keeps “keep it simple” from becoming a slogan. As an example: “Use a job table. Revisit if job queries exceed 20% of database time, or if jobs wait over a minute during normal use for a week.” The thresholds are yours to choose; what matters is that someone can check them.
Reversible does not mean free, because fixes have lead time. Suppose a load test shows headroom of 2 times your current peak, and load grows 10% a month. Since 1.1 to the 7th power is about 1.95, that headroom lasts about 7 months. If the fix takes 4 months, start by about month 3. A signed contract requiring something is evidence too: build it now.
You have two weeks before a pilot of a new billing product. The open questions are: job table or broker, which hosting platform, a customer ID on every table, and the format of the webhooks customers will consume. Where do you spend your time?
Spend it on the customer ID and the webhook format, because one touches every table and query later and the other becomes a contract as soon as customers build on it. Pick a job table and a familiar platform quickly, and write down what would make you revisit each, such as job queries ranking among your costliest. If the pilot contract already requires something specific, such as a region, that is evidence and changes the plan.
Use this as a guide for self review; written answers are not graded.Keep in mind
- Spend early effort on the data model, public APIs, and data ownership.
- Record the evidence that would make you revisit each deferred decision.
- Allow for lead time: start a fix before the headroom runs out.