Browse patterns / System architecture / A001
monolithic architecture

Monolithic architecture

A traditional software model in which one codebase implements multiple business functions.

Recorded evidence 13/14Compare →Source
01 / UNDERSTAND

Structure and behavior

Follow the arrows step by step.

All functions in the single deployment unit scale together. The DB can be a separate resource.

Expected benefits

Development, testing, and deployment are straightforward; adding replicas behind a load balancer can make scaling out simple.

Trade-offs

Even a small change can affect a broad part of the codebase, increasing change and maintenance costs.

Maintenance and scaling grow harder as application scope and performance requirements increase.

02 / APPLY

Operations and adoption guide

Synthesis, distinct from items backed by source excerpts. Validate before applying in production.

When to use

A good fit when an early product or small team prioritizes shipping quickly and keeping development and deployment simple. It can also suit small or midsize applications with simple requirements and prototypes.

Scenario

A regional retail chain with 50 employees and 8 developers has three months to launch online ordering, inventory, and membership as one web application. It expects thousands of requests per day and little demand for independently scaling individual features. One codebase and one relational DB simplify development, testing, and deployment; several identical instances behind a load balancer provide horizontal scaling.

Placement principles

  • Package UI, server logic, and data access in one runnable unit or artifact
  • Put primary data in tables in one relational DBMS
  • Keep static assets in the application bundle or under one web-server path
  • Put identical application replicas behind a load balancer
  • If needed, use a shared external store for sessions or cache while keeping core data in the one DB.

On premises

Deploy one executable and a relational DB, then scale by replicating behind a load balancer. Manage versions, settings, and DB migrations together for the one deployment unit. As failure impact can span the whole application, keep health checks, backups, and rollback straightforward.

03 / VERIFY

Evidence by criterion (14 total)

Evidence availability at the time of research. Assess source accuracy and currency separately.

Definition and overviewEvidence available

A traditional software model in which one codebase implements multiple business functions.

Monolithic architecture is a traditional software development model in which a single codebase executes multiple business functions.

www.ibm.com original ↗

Problem addressedEvidence available

Helps early-stage companies ship quickly and conserve funds through simpler development and deployment.

Startup outfits need to make quick business moves, but also need to conserve precious start-up funds.

www.ibm.com original ↗

Key components and resourcesEvidence available

Consists of a client UI, a server-side interface, and a database.

a client-side interface, a server-side interface, and a database

github.com original ↗

Data and asset placementEvidence available

Typically uses one primary database and keeps the data access layer within the application.

It usually talks to one main database.

www.compilenrun.com original ↗

Typical use casesEvidence available

Suitable for small to midsize applications, prototypes, and simple requirements.

Best suited for small to medium-sized applications, prototypes, or applications with simple requirements.

bool.dev original ↗

Example scenarioEvidence available

Useful when an early-stage product with unclear domain boundaries is built by a small team of up to 20 people that prioritizes simple deployment.

Team size is small (< 20 engineers)

www.wasilzafar.com original ↗

When to avoid and caveatsEvidence available

Maintenance and scaling grow harder as application scope and performance requirements increase.

as the application’s scope and performance demands increase, a monolith can consequently become difficult to maintain and scale.

www.f5.com original ↗

On premises: development, deployment, and operationsEvidence available

The simplest form runs one executable on one server.

In its simplest form, a monolithic application is a single executable that runs on a single server.

vaadin.com original ↗

Cloud: development, deployment, and operationsEvidence available

Scale out by running identical replicas behind a load balancer.

simple to scale horizontally by running copies behind a load balancer.

www.compilenrun.com original ↗

Kubernetes: development, deployment, and operationsUnverified

No primary-source evidence was recorded. This does not imply that the pattern is unsuitable.

Incident responseEvidence available

Retry transient errors and use a circuit breaker for persistent failures to limit cascading impact.

Use the Circuit Breaker pattern to fail fast without making the remote call when an operation is likely to fail.

learn.microsoft.com original ↗

BenefitsEvidence available

Development, testing, and deployment are straightforward; adding replicas behind a load balancer can make scaling out simple.

it is simple to develop, test and deploy, and simple to scale horizontally by running copies behind a load balancer.

www.compilenrun.com original ↗

Drawbacks and trade-offsEvidence available

Even a small change can affect a broad part of the codebase, increasing change and maintenance costs.

small changes impact large areas of the code base.

aws.amazon.com original ↗

Representative tools and technologiesEvidence available

Representative building blocks are a relational database management system and a single runnable unit.

A database for the enterprise-level app is usually multiple tables organized in a relational database management system.

github.com original ↗

Additional references (24)