版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、响应式云原生技术架构介绍The Reactive Cloud Native ArchitectureAgendaCloud NativeReactive programmingRSocket protocolRSocket broker1. Mission of the Cloud Native Computing Foundation.The Foundations mission is to make cloud native computing ubiquitous. The CNCF Cloud Native Definition v1.0 says:Cloud native tech
2、no logies empower organizations to build and run scalable applications in modern, dynamic environments such as public, private, and hybrid clouds. Containers, service meshes, microservices, immutable infrastructure, and declarative APls exemplify this approach.These techniques enable loosely coupled
3、 systems that are resilient, manageable, and observable. Combined with robust automation, they allow engineers to make high-impact changes frequently and p edictably with minimal toil.The Cloud Native Computing Foundation seeks to drive adoption of this paradigm by fostering and sustaining an ecosys
4、tem of open source, vendor-neutral projects. We democratize state-of-the-art patterns to make these innovations accessib le for everyone.The Reactive System - is type of the system which reacts to all the events6Reactive Manifestohttps:/Version 2.0 (September 2014)* More flexible systems*Highly resp
5、onsive*More tolerant of failures*Handling of failuresReactive StreamsA Standard for asynchronous stream processing with non-blocking back pressure* Not specifying the implementation but only the interfacesSpecification 1.0.2 (https:/announce-1.0.2)Specification 1.0.3 JVM (/announce-1.0.3)Working gro
6、ups started in 2013: Netflix, Pivotal, LightBendLatest release: August 2017Reactive Streams (continued)Keyword: Distributed architectureAll distributed operations are asynchronousWe need to stop wrapping those operations in a synchronous wayNon-Blocking mechanismsCallback-based, Rx/Reactor, Co-routi
7、nes, Async/AwaitApplication protocol that honors reactive syntaxDesigned for modern cloud applicationsProvides a standard approach to connecting and communicatingSolves problems in a consistent way across your applicationBuilt by leaders in micro-services and cloud computingRSocket Interaction Model
8、sRSocket Interaction ModelsRequest-ResponseRequestorResponderRSocket Interaction ModelsFire-and-ForgetRequestorResponderRSocket Interaction ModelsRequest-StreamRequestorResponderRSocket Interaction ModelsChannelRequestorResponderRSocket Design featuresMessage-based Binary ProtocolRequester-Responder
9、 interaction is broken down into frames that encapsulate messagesThe framing is binary (not human readable like JSON or XML)Binary is at least 30% fasterPayload AgnosticProtobuf, GraphQL, JSON, Custom BinaryMultiplexed / Connection OrientedCreates single connection between client and serverInteracti
10、ons broken into “logic streams” with an idMultiplexing solves the issue by annotating each message on the connection with astream id that partitions the connection into multiple logical streams”Logic streams and connection allow for “soft sticky” stateRSocket is Bi-DirectionalRequestorResponderResponderRequestor“Client”“Server”Single ConnectionAlibaba RSocket BrokerCentralized & SimplifiedService registryHealth checkService discoveryLoad balancingCentralized & Simplified (cont.)TracingLoggingTraffic
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 幼儿园学生辅导工作制度
- 幼儿园扶贫资助工作制度
- 幼儿园教师教研工作制度
- 幼儿园早期教育工作制度
- 幼儿园消毒卫生工作制度
- 幼儿园疫情研判工作制度
- 幼儿园绿色办公工作制度
- 幼儿园警辅人员工作制度
- 应急办检查工作制度汇编
- 汽车顾问式销售-【实训指导书】项目六 异议处理
- IMPA船舶物料指南(电子版)
- 2025年山东省委党校在职研究生招生考试(政治理论)历年参考题库含答案详解(5卷)
- 北师版小学数学五年级下册课件 6.1《确定位置(一)》
- 全国优质课一等奖职业学校教师信息化大赛机械类《圆弧的连接》课件
- 2023道路运输企业和城市客运企业安全生产重大事故隐患判定标准
- 动量守恒定律在碰撞中的应用五大模型
- 历年中考真题分类汇编数学
- GB/T 7631.14-1998润滑剂和有关产品(L类)的分类第14部分:U组(热处理)
- GB/T 12008.2-2010塑料聚醚多元醇第2部分:规格
- 【人教版】七年级下册数学全册导学案自学案
- DB4401-T 19-2019涉河建设项目河道管理技术规范-(高清现行)
评论
0/150
提交评论