Independent thinking · Worldwide
Contact
← Back to all writing

Independent products need shared foundations

Shared infrastructure creates leverage only when domain ownership remains clear.

Symmetric architectural foundation illustrating structure and independent modules
Product architecture · 33

A growing product company eventually discovers that each application has built its own version of identity, payments, notifications, administration and observability. The duplication feels harmless when products are small. It becomes expensive when teams must fix the same security flaw, provider change or operational issue repeatedly. The obvious response is centralization, but centralization can create a different failure: one giant platform that knows too much about every business.

02 / PERSPECTIVE

The distinction that matters is between capability and domain. An identity service can provide authentication and tenant boundaries without deciding how an event booking works. A payment layer can route and reconcile transactions without owning the business meaning of an invoice. Shared foundations should provide stable contracts; products should retain their rules, data authority and independent release schedules.

03 / PERSPECTIVE

This separation is neither microservices for their own sake nor a mandate to distribute every feature. It requires architectural judgment about which concepts are genuinely common. A shared service needs explicit ownership, versioning, graceful degradation and real adoption documentation. When a central dependency fails, critical product activity should not fail merely because an administrative console is unavailable.

04 / PERSPECTIVE

A practical test is to ask whether a new product can be introduced without copying infrastructure or negotiating changes to unrelated products. Then ask whether one product can evolve its business logic without forcing all others to deploy. The goal is not maximum reuse; it is shared leverage with independent accountability.

05 / DEEP DIVE

When small duplications grow expensive

Each product building its own login, payment integration and notification pipeline can feel efficient at first. Repeated security fixes, provider changes and cross-product customer needs eventually reveal the hidden maintenance cost. Shared foundations can reduce it, provided the foundation does not become the new bottleneck.

06 / DEEP DIVE

Not everything belongs at the center

Identity, auditing and messaging may be horizontal capabilities. The rules for pricing a tour or evaluating a particular customer's application belong to the business domain. Centralizing those rules can force every feature through a platform team. Good architecture names the boundary between shared truths and independent product judgment.

07 / DEEP DIVE

One identity is not one permission

A person may use several services but have different roles, memberships and rights in each. Stable identity and authentication can be shared without collapsing product permissions or tenant boundaries. A central identity platform is fundamentally a contract about who can do what, where—not merely a convenient login screen.

08 / DEEP DIVE

The shared-service failure mode

A shared notification service that fails can disrupt every connected product. An incompatible API change can stall otherwise independent teams. Ownership, service levels, version compatibility, graceful degradation and transparent unit costs matter as much as code reuse.

09 / DEEP DIVE

Sometimes a library is enough

Two small products may benefit more from a shared library than from a separately deployed platform. Service decomposition has real operational and coordination costs. Compare change frequency, team autonomy and blast radius before choosing a distributed service.

10 / DEEP DIVE

A foundation that permits difference

The purpose of shared infrastructure is not to make all products identical. It is to free each team to solve its particular problem without continually reinventing security, identity and operational safeguards. A good foundation remains stable while allowing the structure above it to evolve.

Research and design credits
NIST — Secure Software Development Framework Google SRE — Monitoring Distributed Systems FinOps Foundation — Unit Economics
Research and design credits
Continue readingBefore giving an agent tools, give it boundaries

HADI NOBAKHT

Turn your phone upright

This experience is designed for portrait viewing.