6.1 Microservices

Microservices are small-scale services that may be combined to create applications. They should be independent, so that the service interface is not affected by changes to other services. It should be possible to modify the service and re-deploy it without changing or stopping other services in the system. Table 6.1 summarizes these essential characteristics of microservices.

Table 6.1 Characteristics of microservices

Characteristic

Explanation

Self-contained

Microservices do not have external dependencies. They manage their own data and implement their own user interface.

Lightweight

Microservices communicate using lightweight protocols, so that service communication overheads are low.

Implementation independent ...

Get Engineering Software Products: An Introduction to Modern Software Engineering now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.