Dubbo 过去、 现在以及未来 - Huodongjia.com · 2017-12-27 · spring cloud + netflix oss....
Transcript of Dubbo 过去、 现在以及未来 - Huodongjia.com · 2017-12-27 · spring cloud + netflix oss....
2017.thegiac.comwww.top100summit.com
Dubbo 过去、现在以及未来
马昕曦(小马哥)阿里巴巴
2017.thegiac.com
自我介绍
姓名:马昕曦
花名:桃谷
昵称:小马哥
阿里巴巴技术专家,Dubbo 维护者之一,负责阿里巴巴微服务架构推广、技术实施、架构衍进、基础设施构建等。
GitHub : https://github.com/mercyblitz
微信/微博:mercyblitz
2017.thegiac.com
议程
基本介绍
功能架构
微服务支持
路线规划
问答互动
2017.thegiac.com
基本介绍
2017.thegiac.com
Dubbo 介绍
Open sourced by Alibaba at 2011
Production-tested and Proven At Scale
A high performance RPC Framework
Beyond RPC: Rich features for micro-services
2017.thegiac.com
当前情况
服务化基石
• 阿里内部微服务支持
• 生产环境运行多年
2 广泛运用
• 多家大规模公司使用
• 多种衍生框架
社区活跃
• 14 K + starts
• 11 K + forks
• 100+ issue & PR / 每周
1 3
2017.thegiac.com
谁在使用 ?
更多:https://github.com/alibaba/dubbo/issues/1012
2017.thegiac.com
功能架构
2017.thegiac.com
核心功能
版本 & 分组管理分组管理不同服务实现;
同服务多版本管理
多协议支持通讯协议: dubbo, hessian, thrift, RMI;
序列化协议: hessian2, json …
负载均衡內建随机、一致性 Hash、轮训等多种负
载均衡组件,支持自定义扩展
Production-Ready运行时动态配置、dubbo-admin OPS,
telnet 命令支持等
透明 RPC本地接口代理实现 RPC 透明调用
服务注册 & 发现服务自动注册和发现,多种注册中心支持
实时流量管控自定义路由规则, 流量管控策略, failover 以
及故障检测
SPI 扩展丰富的SPI 扩展点:协议、集群、路由、负
载均衡、注册中心等
2017.thegiac.com
整体架构
2017.thegiac.com
工作原理
服务调用 (RPC)根据负载均衡以及路由规则选择服务地址,直接调用
服务发现注册中心通知服务消费端,当服务地址发生变更
服务注册服务提供方注册服务信息到注册中心
服务导出服务提供方导出服务,监听端口
43
10服务订阅服务消费方订阅关注的服务
2
监控监控器收集和展示服务提供方以及服务提供方之间的统计信息
5
2017.thegiac.com
微服务支持
2017.thegiac.com
微服务关注
2017.thegiac.com
Spring Cloud + Netflix OSS
2017.thegiac.com
微服务分布
2017.thegiac.com
放弃 Spring Cloud ?
2017.thegiac.com
Spring Cloud 核心优势
2017.thegiac.com
Spring Cloud VS Dubbo
2017.thegiac.com
Dubbo 微服务准备
2017.thegiac.com
Dubbo 微服务准备 - 依赖升级
2017.thegiac.com
Dubbo 微服务准备 - Annotation 驱动
2017.thegiac.com
Dubbo 微服务准备 - 外部化配置
2017.thegiac.com
Dubbo 微服务准备 – 组件装配
2017.thegiac.com
Dubbo 微服务进行时
开箱即用
Spring Boot Starter
JAX-RS + Spring WebMVC
Restful
确保平滑部署
优雅上下线
Circuit breaker,内部实现
容错机制
Telnet & Endpoints
Production-Ready
脚本语言支持
路由策略
Future、Reactive
异步
2017.thegiac.com
路线规划
2017.thegiac.com
长期计划
Solve the problem of cross-language interoperability of microservices
Polyglot
A stable framework used by developers and enterprises around the
world
International
Integrate with cloud native concepts and related platforms: K8S, docker …
Cloud Native
Rich functions, perfect ecological system
around dubbo
Eco-System
2017.thegiac.com
生态系统REACTIVE SPRING CLOUD POLYGLOTSPRING BOOT ASYNC
CONSUL EUREKA SECURITY MESSAGE GATEWAY
FAULT TOLERANT
TRACE
MONITOR/METRICS
HTTP HTTP2 REST PROTOBUFWEBSOCKET
RUNTIME MAINTENANCE
SERVICE GOVERMANCE
ROUTING RULE
MOCK & TEST
DYNAMIC CONFIGURATION
SERVICE
……
SERVICE
2017.thegiac.com
需要您的力量
Github Issue: https://github.com/alibaba/dubbo/issuesGitter: https://gitter.im/alibaba/dubboGoogle 邮件组: [email protected]
COMMUNITY
Pull Request: https://github.com/alibaba/dubbo/pulls
CODE & DESIGN
文档: https://github.com/alibaba/dubbo/issues/948Code Base: https://github.com/alibaba/dubboBlogs: http://www.baeldung.com/dubbo
TRANSLATION
2017.thegiac.com
《Spring Boot 编程思想》
上市时间:2018 年
特点:系统学习,拒绝浅尝辄止重视规范,了解发展趋势场景分析,掌握技术选型源码解读,理解设计思想
实战演练,巩固学习成果
2017.thegiac.com
谢谢
2017.thegiac.comwww.top100summit.com
扫码关注GIAC公众号