Video in progress
How do you justify a "build vs buy" decision?
I start with whether this capability is a competitive advantage for our business. Then I compare the full 3-year cost (development, maintenance, people) against licensing, vendor lock-in and the integration cost.
📖 Answer
Developers usually lean toward "we'll build it ourselves", since it's more interesting. Leadership often leans toward "we'll buy", since it looks faster. Both often don't count the full cost.
The questions I use:
- Is this our core? For a payment company, payment logic is core and an HR system isn't. Building something that isn't core means spending your strongest developers on work that doesn't help in competition.
- The full 3-year cost (TCO). Build: development + ongoing maintenance (usually a large part of the initial cost every year) + on-call + security updates + the risk of the knowledge staying with only 2 people. Buy: license + integration + customization + training + price increases.
- If a ready-made solution covers 80% of our requirements, how important is the other 20%? Sometimes exactly that 20% is the business's differentiator.
- What if the vendor shuts down or triples the price? Can we export the data? Are there standard protocols?
- Local constraints: data localization requirements in Uzbekistan, payment and currency issues, some SaaS products not working in the region. These often change the decision.
Often the answer is a mix: a ready-made core (for example, Keycloak) + a thin layer of our own. The decision is written in an ADR, which also includes the conditions for revisiting it: "if the user count goes above 1 million or the license price goes above X, we reassess."
Sign up to mark studied questions and save your progress.