# Microservices

> Building an app as many small services. Each one is shipped on its own.

**Field:** Software Development  
**Category:** Architecture  
**Also known as:** Microservice Architecture, Microservice

## Think of it like

Think of it like a food court. Each stall cooks one kind of food and runs on its own.

## Definition

Microservices is a way to build an app as many small services, not one. Each service does one job, has its own data and is deployed on its own. They talk to each other over the network, often with HTTP or a message queue. Different teams can own and ship different services. The cost is more moving parts. Network calls fail, and a bug is harder to track across services.

## Example

A large shop splits into a search service, a cart service and a payment service. The payment team ships a fix at noon without touching search.

## Why it matters

It lets big firms with many teams move fast. Teams do not get in each other's way.

## Common mistake

Starting a small project with microservices. A team of three ends up running ten services, with all the cost and none of the gain.

## Three principles

- **One job per service.** Own data, own deploy.
- **Talk over the network.** Calls can fail.
- **Fits big teams.** Not small projects.

## Related terms

- [Monolithic Architecture](https://learn.benibix.com/term/development/monolith)
- [Modular Monolith](https://learn.benibix.com/term/development/modular-monolith)
- [API Gateway](https://learn.benibix.com/term/development/api-gateway)
- [Message Queue](https://learn.benibix.com/term/development/message-queue)
- [Container](https://learn.benibix.com/term/infrastructure/container)

## Told apart from

- [Monolith vs Microservices](https://learn.benibix.com/compare/monolith-vs-microservices): A monolith and microservices are two ways to shape the very same app, and the choice changes how a whole team works. A monolith is one unit, built and shipped all at once. Microservices split the app into many small services, each shipped on its own. A monolith is simpler to start and run. Microservices help when many teams need to ship apart.

---

Source: https://learn.benibix.com/term/development/microservices
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
