
—Monolithic vs Micro Services
微服务的热度从2014年就开始了, 随着对服务组件的独立性要求越来越高,服务耦合度的解绑要求也是与日俱增。 这里借用 DZone 的这篇文章,抽取出其中的图做个简要的总结。 这边博客的中文翻译在此。
Monolithic

Microservice Architecture

REST interface to expose microservices

Point-to-point connection

API Gateway connection

Asynchronized Message

Seperate database under Microservice

Service Discovery

—- 客户端发现

—- 服务端发现
Microservice as Container

Microservice security with OAuth2 and OpenID
