时代背景-微服务
James Lewis and Martin Fowler (2014) 提出微服務完整概念。Microservices Guide
In short, the microservice architectural style is an approach to developing a single application as a suite of small services, each running in its own process and communicating with lightweight mechanisms, often an HTTP resource API. These services are built around business capabilities and independently deployable by fully automated deployment machinery. There is a bare minimum of centralized management of these services, which may be written in different programming languages and use different data storage technologies.-- James Lewis and Martin Fowler (2014)
- 微服務是一種架構風格
- 一個應用拆分為一組小型服務
- 每個服務運行在自己的進程內,也就是可獨立部署和升級
- 服務之間使用輕量級HTTP交互
- 服務圍繞業務功能拆分
- 可以由全自動部署機制獨立部署
- 去中心化,服務自治。服務可以使用不同的語言、不同的存儲技術
總結
- 上一篇: SpringBoot优点
- 下一篇: 分布式的困难