Medium Microservice Architecture Practice

JIN
6 min readNov 13, 2021

Please clap and share if you like this article.

I used Medium (this platform) as an example throughout the article.

Many startup companies use the technology stack started as a monolithic Node.js application and built several satellite communication services, but have not yet systematically adopted a microservice architecture. As the system became more complex, the team have to produce a better solution to minimize the impact on the system. The goal of microservice architecture is to help engineer teams deliver products faster, safer, and with higher quality.

In the microservice architecture, multiple loosely coupled services work together. Each service focuses on one purpose and is highly cohesive with related behaviors and data. The definition includes 3 design principles:

  1. Single-purpose — each service should focus on one purpose and do it well
  2. Loosely coupled services do not have much contact with each other. Changing one service should not require changing other services. Communication between services should only be done through public service interfaces.
  3. High cohesion — each service encapsulates all related behaviors and data together. If we need to build new features, all changes are limited to one service.

--

--

No responses yet