微服务架构

"微服务架构"

Posted by yueLng on 2019-12-13

微服务组成

服务注册与发现
身份验证与授权
服务的伸缩控制
反向代理与负载均衡
路由控制
流量切换
日志管理
性能度量、监控与调优
分布式跟踪
过载保护
服务降级
服务部署与版本升级策略支持
错误处理

golang 微服务

微服务的演进

  • 梳理业务边界
  • 资源隔离部署
  • 内外网服务隔离
  • RPC框架 (序列化、上下文管理超时控制、拦截器鉴权统计限流、服务注册、负载均衡)
  • API Gateway

He notes though that there are legitimate needs for standardization in areas like logging, distributed tracing, routing, etc., but this should be enabled using independent libraries that a consumer can choose whether to use or not.

关于各个微服务之间共享代码

Microservices Talks

参考资料