01.6.3 · Skill in Domain understanding

Domain constraints

The rules, limits and realities a solution must respect.

Constraints include budgets, approval chains, legacy systems, seasonality and safety requirements. Ignoring them produces solutions that look great and cannot be adopted. Engineers who know them early avoid expensive redesigns later.

Your status · Domain constraints

Saved in this browser. Sign in to keep it on every device.It colours this skill's tile on your map.

Why it matters for a product engineer

Constraints decide what can be adopted, not only what can be built. A solution that ignores an approval process, a platform rule or a legacy system looks great in a demo and fails in real use. Engineers who learn the constraints early avoid redesigns, and sometimes find the product itself inside them.

How to do it

  1. List the constraints of the domain: laws, platform rules, budgets, approval chains, legacy systems, seasons, safety.
  2. Ask people who work in the domain what slows every change down. Read the platform documentation and terms yourself.
  3. Mark each one as hard (a law, a platform policy) or soft (a habit, a preference).
  4. Design around the hard ones from the start. Test the slowest one early, for example by sending an app for review in the first week.
  5. Write them down where the team sees them, with the date and the source.
  6. Check them again when a platform or a law changes.

Common mistakes

  • Finding out about an approval process in launch week.
  • Treating a habit as a rule, and so missing a simpler design.
  • Building on a rule a platform tolerates today and could change tomorrow.
  • Forgetting the buyer’s side: procurement, security reviews, budget cycles.

Example

Zernio’s product sits inside the platforms’ rules. Meta asks for a screencast and about 14 days of review for each permission. YouTube limits uploads until it raises your quota. WhatsApp charges for template messages outside a 24-hour window. Each developer who connects their users’ accounts meets these limits. Zernio meets them once, for every customer, and sells that work as an API. (Zernio in In practice)

Numbers

Three platform rules a product meets when its users connect their accounts

14days
Meta's review, per permission
After a screencast
6months
Zernio's wait for a higher YouTube upload quota
24h
WhatsApp's message window
Templates outside it are charged

Hard constraints set the calendar. For Zernio they are also the reason customers pay.

ReportedMiquel Palet, Zernio's founder, on the Itnig podcast

In practice

Real products

Resources

2
  • articleStart here
    Domain driven design ↗
    Martin Fowler · 3 min

    A short orientation to domain-driven design, the approach that puts the business domain at the center of the software.

  • articleGo deeper
    Bounded context ↗
    Martin Fowler · 3 min

    The same word can mean different things in different parts of a business; this is how to draw those lines.