ADR Documents
https://phodal.github.io/adr/examples/export-2.html#12-think-about-micro-service
- Think about micro service
Date: 13/04/2017
Status
Proposed
Context
已拆分为各种服务(1. 接口不统一、无监控、无统一日志管理);
API 文档管理不够;
服务的部署纯手动;
Decision
Decision here...
Consequences
跨语言;
提供 server 和 client 端;
统一上线过程:独立部署、运行、升级;
统一日志记录与审计:第三方日志服务;
统一风格:REST API or RPC;
统一认证和鉴权:权限管理、安全策略;
统一服务测试:调度方式、访问入口;
资源管理(虚拟机、物理机、网络);
负载均衡:客户端 or 服务端;
注册发现:中心话注册 or hardcode;
监控告警;
Refs
Why
先把平台做扎实,再来微服务吧 http://www.infoq.com/cn/articles/how-to-understand-microservice-architecture
Microservices – Please, don’t http://basho.com/posts/technical/microservices-please-dont/
SOA和微服务架构的区别? https://www.zhihu.com/question/37808426/answer/93335393
How
一个完整的微服务系统,应该包含哪些功能?http://www.infoq.com/cn/articles/what-complete-micro-service-system-should-include
构建高性能微服务架构 http://www.infoq.com/cn/articles/building-a-high-performance-micro-service-architecture
服务化框架技术选型与京东JSF解密 http://zhuanlan.51cto.com/art/201612/525719.htm
微服务实战:从架构到发布(一)https://segmentfault.com/a/1190000004634172
微服务架构的基础框架选择:Spring Cloud还是Dubbo? http://blog.didispace.com/microservice-framework/
分布式服务框架之服务化最佳实践 http://www.infoq.com/cn/articles/servitization-best-practice
You need to be this tall to use micro services: https://news.ycombinator.com/item?id=12508655
服务注册
分布式服务治理的设计问题? https://www.zhihu.com/question/51436292/answer/126128311
REST API vs RPC
Do you really know why you prefer REST over RPC? https://apihandyman.io/do-you-really-know-why-you-prefer-rest-over-rpc/
REST vs JSON-RPC? http://stackoverflow.com/questions/15056878/rest-vs-json-rpc
What differentiates a REST web service from a RPC-like one? http://stackoverflow.com/questions/7410040/what-differentiates-a-rest-web-service-from-a-rpc-like-one