T
T
topuserman2021-11-12 21:36:18
Service Oriented Architecture
topuserman, 2021-11-12 21:36:18

Terminology: why are containers called microservices?

When reading various literature and articles on the topic of microservice architecture and docker, I got confused with terminologies.

As I understand it, a microservice is a regular service that solves one small task. A microservice can consist of either a single container or multiple containers (if containers are used).

If I'm wrong, please correct me.

In many articles, they write that a container is a microservice.
Is a separate container (like pure nginx) really a microservice?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
Ivan Shumov, 2021-11-12
@inoise

No, a container can contain both a monolith and a group of services, but this is "not accepted in a decent society."
Containerization challenge - runtime repeatability and isolation
Microservices challenge - contract access isolation and independent development/deployment cycle

G
Griboks, 2021-11-13
@Griboks

A microservice is an element of architecture.
The container is its implementation.
In 90% of cases, a microservice is implemented through a container, and in 80% of cases, a container implements a microservice. Therefore, among the people, these concepts have merged (like statistics and statistical data).

�
âš¡ Kotobotov âš¡, 2021-11-13
@angrySCV

As I understand it, a microservice is a regular service that solves one small task. A microservice can consist of either a single container or multiple containers (if containers are used).

Yes,
just the terminology is a little misleading, they usually say not a microservice, but a microservice architecture, that is, such a service architecture in which the service consists of many independent nodes that you can independently develop and deploy, without the need for changes in other nodes. how many nodes themselves and their size is no longer so important.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question