# Distributed Apps

> For AI agents: the complete glossary index is at [llms.txt](https://glossary.cncf.io/llms.txt).
> Markdown versions of every glossary page are available by appending `index.md` to the page URL.

A distributed application is an application where the functionality is broken down into multiple smaller independent parts. 
Distributed applications are usually composed of individual [microservices](https://glossary.cncf.io/microservices-architecture/) 
that handle different concerns within the broader application. 
In a cloud native environment, the individual components typically run as [containers](https://glossary.cncf.io/container/) on a [cluster](https://glossary.cncf.io/cluster/). 

## Problem it addresses 

An application running on one single computer represents a single point of failure — if that computer fails, the application becomes unavailable. 
Distributed applications are often contrasted to [monolithic applications](https://glossary.cncf.io/monolithic-apps/). 
A monolithic app can be harder to scale as the various components can't be scaled independently. 
They can also become a drag on developer velocity as they grow 
because more developers need to work on a shared codebase that doesn't necessarily have well defined boundaries.

## How it helps

When splitting an application into different pieces and running them in many places, the overall system can tolerate more failures. 
It also allows an application to take advantage of scaling features not available to a single application instance, 
namely the ability to [scale horizontally](https://glossary.cncf.io/horizontal-scaling/). 
This does, however, come at a cost: increased complexity and operational overhead 
— you’re now running lots of application components instead of one app.

---

- Canonical URL: https://glossary.cncf.io/distributed-apps/
- Status: Completed
- Last modified March 27, 2024: ` [en] Update links to 'microservices' (#3009) ` ([693b72b](https://github.com/cncf/glossary/commit/693b72b1b49449570de53822cec27af98e73afa7))
- Source: https://github.com/cncf/glossary/blob/main/content/en/distributed-apps.md
- License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
