Volume 9 · Chapter 1 — Enterprise Application Architecture & System Design

Enterprise Architecture Fundamentals

Goutham Mayaluri 7 min read .NETC#

1.1 Introduction

Enterprise architecture is the practice of shaping large software systems so that they serve the business over years, not just at launch. Where a single service can be judged by whether it works, an enterprise system is judged by whether it can keep changing safely, scale with the business, satisfy regulators, and be operated by teams who did not build it. This volume is about the reasoning an architect brings to those problems - and the central skill is not knowing every pattern but making defensible trade-offs against explicit quality attributes.

1.2 Architecture Is About Quality Attributes

Functional requirements (what the system does) are usually satisfiable many ways; it is the non-functional requirements - the quality attributes - that drive architecture. Scalability, availability, security, performance, maintainability, and cost pull against each other, and the architect’s job is to prioritize them for this business and design accordingly. A payments platform ranks consistency and auditability above raw latency; a social feed ranks availability and latency above strict consistency. The same functionality yields very different architectures depending on which qualities dominate.

1.3 Layered Structure and Separation of Concerns

Most enterprise systems separate presentation, application, domain, and infrastructure concerns so that each can change independently and the valuable business logic stays isolated from volatile technology. This is the structural expression of a deeper principle: manage dependencies deliberately so that change stays local.

flowchart TB
  Pres["Presentation\n(API / UI / gRPC)"] --> App["Application\n(use cases, orchestration)"]
  App --> Dom["Domain\n(business rules, invariants)"]
  App --> Infra["Infrastructure\n(DB, messaging, external APIs)"]
  Infra -.-> Dom
  Dom -. "defines interfaces\nimplemented by Infra" .- Infra

1.4 The Concerns an Architect Balances

  • Application design- how logic is structured and boundaries drawn.
  • Data architecture- how data is stored, owned, and kept consistent.
  • Integration- how components and external systems communicate.
  • Security- identity, access, and data protection across layers.
  • Deployment and operations- how the system is delivered and run.

1.5 Trade-offs and Reversibility

Every architectural decision trades one quality for another, and a mature architect classifies decisions by how expensive they are to reverse. Cheap-to- reverse decisions (a library choice, an internal API shape) should be made quickly and revisited freely. Expensive-to-reverse ones (the data model, service boundaries, the consistency model) deserve deep analysis, prototyping, and an Architecture Decision Record, because getting them wrong is costly to unwind. Spending equal effort on both is a common waste.

Senior Interview Question

What makes a good enterprise architecture?

One that satisfies the business’s quality attributes - scalability, availability, security, maintainability, cost - at the right priority for that business, while remaining changeable over time. Good architecture is not maximal sophistication; it manages dependencies so change stays local, isolates valuable business logic from volatile technology, draws boundaries that match how the business and teams are organized, and makes its trade-offs deliberately rather than by default. It is also operable and observable, because a system that cannot be run and evolved by the teams who own it has failed regardless of its elegance. The test is whether the system can keep meeting business needs years after launch.

Senior Interview Question

Why do non-functional requirements drive architecture more than functional ones?

Because functional requirements can usually be met by many designs - almost any reasonable architecture can implement “transfer money between accounts.” What separates the designs is how they meet the non-functional requirements: the system that must handle millions of transactions at 99.99% availability with strict consistency and full auditability looks radically different from one serving a thousand users with relaxed guarantees, even though both do the same thing. Quality attributes like scale, availability, consistency, latency, and security are what force choices about data models, service boundaries, replication, and communication styles. So the architect elicits and prioritizes the non-functional requirements first, because those are what the architecture actually exists to satisfy.

Senior Interview Question

How do you classify architectural decisions by reversibility, and why does it matter?

I sort decisions into cheap-to-reverse and expensive-to-reverse (sometimes called two-way and one-way doors). Cheap-to-reverse decisions - a logging library, an internal API shape, a caching detail - can be changed later with little cost, so I make them fast and move on, avoiding analysis paralysis. Expensive-to-reverse decisions - the core data model, service boundaries, the consistency model, the primary datastore - are costly and risky to unwind once the system depends on them, so they justify deeper analysis, prototyping the risky parts, and recording the reasoning in an ADR. Matching the effort of a decision to its reversibility is what lets a team move quickly on most things while being appropriately careful on the few that really matter.

Principal Architect Question

How do you start designing a large enterprise system?

I start from the business, not the technology. First I understand the business capabilities and the domain - what the system must do and the language of the people who use it - which reveals natural boundaries. Then I elicit and prioritize the quality attributes (scale, availability, consistency, security, compliance, cost, time-to-market), because those drive the architecture and are where the real constraints live. With that, I identify bounded contexts and their ownership, sketch the high-level components and how they communicate, and decide the data architecture and consistency model per context. I make the expensive-to-reverse decisions carefully - often prototyping the risky ones - and defer the cheap ones. Throughout I evaluate trade-offs explicitly against the prioritized attributes, record significant decisions as ADRs, and produce a roadmap that lets the architecture evolve incrementally rather than demanding it be perfect up front. The goal is a design justified by business needs and evolvable as they change.

Principal Architect Question

How do you keep an enterprise architecture from decaying over years of change?

Architecture decays when boundaries erode and expedient shortcuts accumulate, so I treat architectural integrity as something to be actively maintained, not assumed. I make the intended structure explicit and enforceable - clear boundaries between contexts, dependency rules checked by architecture tests in CI, and documented standards - so violations are caught mechanically rather than by heroics. I establish lightweight governance: reviewing significant designs, recording decisions as ADRs so the reasoning survives team turnover, and periodically reassessing whether the boundaries still match the business as it evolves. I invest in the conditions that prevent shortcuts - good tests, fast pipelines, paved-road tooling - because most decay comes from teams routing around friction. And I accept that some drift is inevitable and plan for deliberate refactoring and modernization rather than pretending the first design is final. Sustained architecture is a continuous practice of enforcing boundaries, preserving decision context, and evolving the structure as reality changes.

1.6 Banking Enterprise Scenario

A bank replacing its core platform begins not with technology but with quality attributes: strict consistency and auditability for money movement, 99.99% availability, regulatory data-residency, and the ability to release independently by many teams. Those priorities immediately shape the design - a strongly consistent ledger, bounded contexts owned by aligned teams, event-driven integration for cross-context reactions, and defense-in-depth security - while cheaper decisions like specific libraries are deferred. Every significant choice is captured as an ADR so the reasoning survives the multi-year program.

Chapter Revision Notes

  • Architecture connects technology to business needs and must stay changeable.
  • Quality attributes (non-functional requirements) drive the architecture.
  • Separate concerns and manage dependencies so change stays local.
  • Classify decisions by reversibility; spend effort where it is costly to unwind.
  • Start from business capabilities and prioritized quality attributes, then design.