Skip to content
Glossary · System design

Microservices

Also called microservice architecture.

Definition

A way of building an application as many small services, each owning one job and its own data, deployed independently.

Last updated

What it is.

In a microservices design, orders, billing, search and notifications might each be a separate service with its own code, database and release schedule. Services talk over APIs or a message queue. The opposite is a monolith: one codebase deployed as one unit.

The split is about teams as much as code. Microservices let several teams ship without waiting on each other. The price is a distributed system: network calls that fail, data spread across stores and more to monitor.

Why it matters

Microservices can speed up a large organisation and let busy parts scale on their own. For a small team they often slow things down, because every feature crosses service lines and every service needs its own deploys, alerts and on-call. The choice changes cost and delivery speed for years.

In a product build

We start most products as a well-structured monolith with clear modules, and split out a service only when a team, a scaling need or a compliance boundary asks for it. Each split comes with tracing and observability so failures across services can be followed.

Watch out

Common mistakes.

  1. 01

    Starting with dozens of services on day one for a team of four.

  2. 02

    Sharing one database between services, which keeps them coupled while adding network calls.

  3. 03

    Splitting by technical layer (an API service, a database service) instead of by business area.

Tools

Work it out with a tool.

Related

Related terms.

Building something with this? Ask an engineer.

OceanLab designs and builds production software. Tell us what you are planning and we will reply with how we would approach it.

OceanLab

Enterprise Software Engineering - Human + AI

Languages

Locations

Global Headquarters

21 Merchant Road, 3rd Floor, Singapore 058267

Main corporate office and leadership operations

North America Office

548 Market Street, PMB 12472, San Francisco, CA 94104

Client operations and business development

India Office

402 Shivalik Shilp II, SG Highway, Ahmedabad 380015

Engineering and delivery center

© 2026 - Copyright. All Rights reserved OceanLab