Vezi pagina în română

IT Glossary

What are microservices and how do they work

An architecture style in which the application is made of small services, each with its own data, team and releases — useful at large scale, expensive at small scale.

7
sections
5
questions answered

Microservices are a software architecture style in which an application is built as a set of small services, each running in its own process, with its own database, communicating over the network (an HTTP API, gRPC or a message queue) and able to be deployed and scaled separately from the others. Their opposite is the monolith: all the code in a single application, deployed and scaled together — one big building, versus a neighborhood of small ones.

The style was popularized by large organizations (James Lewis and Martin Fowler cite Netflix and Amazon as examples) because it solves the problems of scale: teams that no longer tread on each other's code, the busiest component scaled on its own, an isolated failure that doesn't stop the rest. Each benefit is paid for in operational complexity, though: orchestration, distributed monitoring, data split across services, debugging that spans several systems. That is why, for a smaller company, a modular monolith is usually the rational choice. The test phrase for elaborate proposals: “why microservices at our size, and who operates them?”

Why it matters for your business

Surgical scaling under heavy load

Only the overwhelmed component receives more resources — the whole application isn't multiplied for one hot spot.

Teams that don't block each other

Separate services, separate releases: the billing team ships today without waiting for, or breaking, the orders team.

Failures with a limited blast radius

A downed notifications service doesn't stop selling — fault isolation is designed into the architecture, not hoped for.

How it works: an online shop split into services

Take an online shop. Instead of one application, there are separate services: product catalog, cart, orders, payments, invoicing and notifications. Each has its own database and its own release cycle, so the team changing the catalog doesn't wait for the one working on payments.

The invoicing service is a good example for a Romanian company: it submits invoices to SPV for e-Factura (Romania's e-invoicing system run by ANAF) and, if the ANAF system is slow to respond, retries on its own without stopping order intake. In a single application, the same problem would slow the whole shop.

Services talk in two ways. Synchronously, through REST/HTTP or gRPC calls, when you need an answer now (for example, checking stock before confirming an order). Asynchronously, through messages sent via a broker such as RabbitMQ or Kafka, when the work can happen later (the confirmation e-mail). The web or mobile app usually enters through an API gateway, a single entry point to all the services.

Separate services don't necessarily mean separate code repositories: many teams keep all their services in one monorepo.

Microservices vs monolith, in short

There are four practical differences. Deployment: a monolith is installed in one step, microservices are released one by one, each at its own pace. Scaling: a monolith is multiplied whole, microservices only the loaded component. Data: a monolith usually uses one database, each microservice keeps its own. Failures: in a monolith a serious error can stop everything, in a system of services one failure can be contained, if it was designed that way.

Between the two sits the modular monolith: a single application at deployment time, but organized into modules with strict boundaries (orders, billing, customers) that communicate through clear interfaces. You get the order and the readiness for a possible split, without the cost of operating several services.

The full decision, with its thresholds, is on the “monolith vs microservices” comparison page.

Want an estimate for your project?

Message us on WhatsApp. We reply the same working day, and the first 30-minute call is free.

Book a free call

What they cost to operate

The real cost of microservices is not in writing the code but in running it, month after month. You need orchestration (Kubernetes or an equivalent) that starts, stops and restarts the services. You need distributed observability: following one request through several services takes shared traces, and the open standard for them is OpenTelemetry, a Cloud Native Computing Foundation project.

Then comes data consistency. Each service has its own database, so there is no longer one database transaction covering the order, the payment and the stock. Compensating steps are used (the saga pattern): if the payment fails, the reserved order is cancelled by a separate step. You also need a delivery pipeline per service, versioning of the contracts between services, and test environments that start the whole set.

All of it is solvable, but it requires engineers who master it, and the cost runs monthly whether or not your scale justifies it.

For a company: when it pays off

Microservices start to justify themselves when concrete signs appear: several teams blocking each other's releases, components with radically different loads (a high-traffic search engine next to a rarely used reporting module), or parts that must be released or certified separately. Without them, the operating tax buys nothing in return.

The underlying reason is called Conway's law: a system's architecture ends up resembling the communication structure of the organization that builds it. Few teams mean few useful services; many teams need boundaries between them.

Warning signal: a proposal pitching microservices for an application with 20 users is optimizing the team's CVs, not your cost. The question to ask: “why microservices at our size, and who operates them?” A concrete answer, naming the team and the tooling, separates the architect from the fashion salesman.

Where the term comes from

The term “microservice” was discussed at a workshop of software architects near Venice in May 2011; in May 2012 the same group settled on “microservices” as the name. The reference definition belongs to James Lewis and Martin Fowler (“Microservices”, martinfowler.com, 25 March 2014): an approach to developing a single application as a suite of small services, each running in its own process and communicating with lightweight mechanisms, often an HTTP API.

The link between architecture and teams comes from Melvin Conway, “How Do Committees Invent?”, Datamation, April 1968: organizations produce designs that copy their communication structure.

The advice to start simple comes from Martin Fowler (“MonolithFirst”, 3 June 2015): almost all the successful microservice stories started with a monolith that got too big and was broken up, while systems built as microservices from scratch often ended up in serious trouble. Sources checked on 18 November 2026.

Frequently asked questions

What are microservices, in short?

An application made of several small services, each with its own role and database, that talk to each other over the network and are released independently. Each service can be written, deployed and scaled without touching the rest, in exchange for a heavier operating effort.

What is the difference between microservices and a monolith?

A monolith is a single application deployed in one piece; microservices are several separately deployable services, each with its own data. The first is simpler to build and run, the others scale and release per component, but need far more infrastructure.

What are examples of microservices?

In an online shop: catalog, cart, orders, payments, invoicing with e-Factura submission and notifications, each a separate service. At organization level, Lewis and Fowler (2014) cite Netflix and Amazon, where teams run the services they build.

Are microservices the same as SOA?

No. Both split a system into services, but SOA, typical of the 2000s, usually relies on a central service bus and shared governance. Microservices put the logic in the services, with their own data and simple transport: Lewis and Fowler describe this as “smart endpoints and dumb pipes”.

We're commissioning an application — do we need microservices?

Almost certainly not at the start. Below multiple teams and serious volume, a modular monolith delivers the same features faster, cheaper and with simple operations, and it can be split later if scale hurts. A microservices proposal for 20 users optimizes the team's CVs, not your cost.