LD is tigger forever,CG are not brothers forever, throw the pot and shine forever.
Modesty is not false, solid is not naive, treacherous but not deceitful, stay with good people, and stay away from poor people.
talk is cheap, show others the code and KPI, Keep progress,make a better result.
Survive during the day and develop at night。
目录
概 述
核心模式:
微服务架构:
服务拆分:
根据业务能力进行拆分:
根据领域的子域拆分:
部署模式:
单主机部署服务的多个实例
单主机部署服务的单个实例
服务实例与虚拟机一一对应
Package the service as a virtual machine image and deploy each service instance as a separate VM
服务实例与容器一一对应
Package the service as a (Docker) container image and deploy each service instance as a container
无服务部署:
AWS Lambda
Google Cloud Functions
Azure Functions
服务部署平台:
Use a deployment platform, which is automated infrastructure for application deployment. It provides a service abstraction, which is a named, set of highly available (e.g. load balanced) service instances.
通讯模式:
1.远程过程调用:
REST
gRPC
Apache Thrift
2.消息
领域独用协议new
Email protocols such as SMTP and IMAP
Media streaming protocols such as RTMP, HLS, and HDS
4.
使用 API 网关作为全部客户端的单一入口点。该 API 网关通过以下两种方式之一处理请求。部分请求会被直接代理/路由至对应的服务,另一部分请求则需要接入多项服务。
小结
微服务架构分析
参考资料和推荐阅读
1.链接: 参考资料.