liveBook · Manning

Microservice architecture

As explained in Kubernetes in Action, Second Edition

A microservice architecture structures an application as multiple independently deployable services that collaborate through defined interfaces.

Microservice architecture divides an application into many separate processes. Each microservice is an independent application with its own development and release cycle, rather than one tightly coupled monolith. section 1.1.3

This structure lets smaller teams own parts of a system and lets components scale separately. It also introduces operational work: services may require different library versions, run in different environments, and communicate across computers. section 1.1.3

A microservice architecture changes application development in several connected ways:

  • Separates development and release cycles so teams can work on individual services. section 1.1.3
  • Uses containers to provide different environments for services with diverging dependencies. section 1.1.3
  • Requires configuration for services to communicate because components no longer need to run on the same computer. section 1.1.3
  • Creates a management problem that orchestration tools such as Kubernetes help address. section 1.1.3 section 1.0

A progressive application example

Kiada is built as a microservices-based application: Docker runs it initially, and Kubernetes runs it in subsequent stages while adding features for typical application operations. section 2.2

Figure 1.6 Comparing monolithic applications with microservices
figure

Compare the single-process monolith with the many-process microservice arrangement. section 1.1.3

How Kubernetes in Action, Second Edition covers it

How deep it goes
Explains team boundaries, release cycles, dependencies, communication, and management challenges, but stops short of detailed service design.
Examples
Uses the Kiada application, Docker execution, Kubernetes deployment, and a monolith-versus-microservices comparison.
What it assumes
Assumes no prior container, Docker, or Linux experience and builds the application and deployment knowledge progressively.
What you can do after
Evaluate when separate services improve team ownership and scaling while recognizing their environment, communication, and management costs.
How it connects
Contrasts monoliths and connects microservices with containers, Kubernetes, scaling, deployment, networking, and configuration.

Also explained in

Compare how 14 books explain microservice architecture →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Kubernetes in Action, Second Edition. The section links point to the parts of the book it draws on.