Back End
What is Back End?
The back end is the server-side part of an application: the code, databases and services that store data, apply business rules, handle authentication and return results to the front end through APIs.
Updated November 2026 · 3 min read
The back end is the part of a software application that runs on servers rather than on the user's device. It stores and retrieves data, applies business rules, handles authentication, talks to other systems and returns results to the front end through APIs. When a user clicks "Place order," the front end sends the request; the back end checks stock, charges the card, records the order and triggers the confirmation email.
Users never see the back end directly, but they feel it in speed, reliability, data accuracy and security. For product teams it also sets limits on what is easy or hard to build, which is why product managers benefit from understanding its basic parts.
What does the back end include?
| Component | What it does | Common examples |
|---|---|---|
| Application server and code | Runs the business logic: calculations, validation, workflows | Code written in languages such as Java, Python, Go, C#, Ruby or JavaScript (Node.js) |
| Databases | Store data durably and let the application query it | Relational databases such as PostgreSQL and MySQL; document, key-value and graph databases |
| APIs | Expose back-end functions to front ends, mobile apps and partners | REST, GraphQL, gRPC |
| Caches and queues | Speed up repeat reads and handle work asynchronously | In-memory caches; message queues for background jobs |
| Authentication and authorization | Confirm who the user is and what they may do | Session management, OAuth, single sign-on |
| Infrastructure | The servers, containers and cloud services the code runs on | Public cloud, private data centers, serverless platforms |
Back end vs. front end
The front end is what runs in the browser or app: layout, interaction and display. The back end is what runs on the server: data, rules and integrations. A rough rule is that anything that must be trusted (prices, permissions, account balances) belongs in the back end, because code on the user's device can be inspected and changed. Full-stack developers work across both. The split also shapes team structure, since front-end and back-end work often move at different speeds.
Common back-end architectures
- Monolith. One deployable application containing all back-end logic. Simple to build and run at first; can become hard to change as it grows. See monolithic architecture.
- Microservices. Many small services, each owning one capability and its data, communicating over APIs. Teams can deploy independently, at the cost of more operational complexity.
- Serverless. Functions run on demand on a cloud platform without the team managing servers. Good for spiky or event-driven workloads.
- Event-driven. Services react to events (such as "order placed") published to a shared stream, which reduces direct dependencies between them.
Why product managers should understand the back end
- Estimates make more sense. A "small" UI change can need a data model change, a migration and API updates.
- Non-functional requirements live here. Performance, availability, data retention and security are largely back-end concerns.
- Technical debt accumulates here. Old data models and tightly coupled services slow down future features.
- Integrations depend on it. What partners and customers can connect to is defined by back-end APIs.
Worked example: A slow dashboard
Consider a hypothetical analytics product whose main dashboard takes 8 seconds to load for large customers. The front-end team finds that the page makes 12 separate API calls, and the slowest, a query that totals the last 90 days of events, takes 6.5 seconds on its own.
The back-end team considers three options: add a database index (estimated to cut the query to about 2 seconds), pre-compute daily totals in a summary table updated each night (under 0.2 seconds for the query, but data up to 24 hours old), or add a cache that serves repeat requests within 5 minutes. The product manager confirms with customers that day-old totals are acceptable for the 90-day view but not for today's numbers. The team pre-computes the historical totals and queries only the current day live, bringing the slowest call from 6.5 seconds to under 0.5 seconds. The trade-off between freshness and speed was a product decision, not only an engineering one.
Common pitfalls
- Putting business rules in the front end. Rules enforced only in the browser can be bypassed and get duplicated across apps.
- Designing data models for today's screens. Data structures outlive interfaces. Model the business, not the page.
- Ignoring observability. Without logs, metrics and traces, back-end problems surface first as customer complaints. See observability.
- Splitting into microservices too early. The coordination cost can outweigh the benefits for a small team.
The back end is one layer of a product's technology stack. It exposes its capabilities through an API, and its overall structure is the subject of system architecture.
Frequently asked questions
What is the difference between the back end and the front end?
The front end runs in the browser or app and handles layout, interaction and display. The back end runs on servers and handles data, business rules, authentication and integrations. Anything that must be trusted, such as prices, permissions or account balances, belongs in the back end, because code on a user's device can be inspected and changed.
What does a product manager need to know about the back end?
Back-end knowledge helps product managers make sense of estimates, since a small interface change can require a data model change, a migration and API updates. Performance, availability, data retention and security are largely back-end concerns, technical debt tends to build up there, and back-end APIs define what partners and customers can integrate with.
Which architectures are used to build a back end?
The main back-end architectures are monoliths, microservices, serverless and event-driven designs. A monolith is one deployable application, simple at first but harder to change as it grows. Microservices split capabilities into small, independently deployed services at the cost of operational complexity. Serverless runs functions on demand, and event-driven systems have services react to published events.
Related terms
Front End
The part of an application users see and interact with.
Technology Stack
The layers of technology a team uses to build and run software.
API (Application Programming Interface)
The rules that let one piece of software request data from another.
Behavioral Analytics
Studying sequences of in-product events to see how users actually behave.