Rust HTTP 协议栈在终端通信场景的实践 - 胡凯CONFE 2023 Rust HTTP 协议栈在终端通信场景的实践 胡凯 hukai45@huaweicom 华为 公共开发部 嵌入式软件能力中心 ‖ 目录 @ HTTP 协议介绍 什么是 HTTP 协议? @ Rust与HTTP协议 介绍 Rust 与 HTTP 协议栈结合的业界实现。 @ 终端 HTTP 通信场景浅析 终端场景下 HTTP 协议的主要使用场景,以及需要思考的问题。 协议的主要使用场景,以及需要思考的问题。 @ Rust 与终端 HTTP 通信场景结合 我们当前结合 Rust 和终端通信场景的实践的简单介绍, 和1 Part 01 HTTP 协议介绍 什么是 HTTP 协议? Rust China Conf 2022 - 2023, Shanghai China HTTP 协议介绍 HTTP 协议,即超文本传输协议 (HyperText Transfer Protocol) 是一种用于分布式、协作式和超媒体 信息系统的应用层协议。 HTTP 是一个客户端〈用户) 和服务端 (网站) 之间请求和应答的标准。 | 将 一 人俱 芋 brewser 语二二 一一 Client+ Server ust China Conf 2022 - 20: HTTP 协议介绍 HTTP 协议主要具有以下特点: WO0 码力 | 26 页 | 1.25 MB | 2 年前3
SOFAMesh的通用协议扩展## SOFA MESH 的通用协议扩展 邵俊雄(熊啸) 2018.08.25 ## AGENDA • SOFA MESH 介绍 • SERVICE MESH 落地的问题 • SOFA MESH 的通用落地方案 • DNS 服务寻址方案 • X-PROTOCOL 通用协议 · 问答 ## SOFA MESH • 从 ISTIO 克隆并保持同步更新 - 使用 SOFA-MOSN 代替 Controller Pattern 通过 CRD 扩展新的能力 ## MESH 落地碰到的问题 • 客户端服务发现与负载均衡无法与 ISTIO 一起工作 • ENVOY 不支持微服务使用的通信协议 - RPC 服务使用的接口,方法,参数语义无法匹配 ISTIO 的路由模型 • 一个应用上部署了多个 RPC 服务,每个服务有自己的版本 ## I STIO 控制平面路由的抽象模型 VirtualHost 服务的路由规则 XDS 适配 • 开发 DUBBO 协议支持 ## SOFA MESH 的统一解决方案 • 采用 Kubernetes Native 方式落地微服务应用 • 使用 INTERFACE 作为 DNS 来寻址服务 • 开发一个通用协议处理框架 - 避免为不同的微服务框架修改 PILOT 代码 • 通过插件的方式按需支持新的协议 • 对应用代码无侵入性 • 为微服务框架提供轻量化客户端0 码力 | 28 页 | 4.73 MB | 1 年前3
Kubernetes全栈容器技术剖析## 华为云 技术 私享会 ## 华为云技术 私享会 ## Kubernetes全栈容器技术剖析 陈弘 华为云PaaS解决方案架构师 ## 华为云应用服务:让企业应用上云更简单,运行更高效 应用 开发测试 PaaS 统一编排 IaaS 云性能测试CPTS 软件开发服务 DevCloud 微服务引擎 CSE 应用编排引擎 AOS App/PaaS/IaaS 资源一键式创建 - Kubernetes(简称K8S)是主流的容器编排部署管理平台。它基于Google Borg商用系统开发,具有轻量级,可移植性,高灵活性等特点。 CNCF是围绕Kubernetes构建容器软件全栈的基金会组织,提供Kubernetes和周边软件的技术孵化和服务提供商资质认证 ## 容器技术迅猛发展,Kubernetes主宰容器编排调度引擎市场 2017年10月,Docker公司宣布支持Kubernetes ·提供Source2image工具,提高容器镜像的构建效率 ## 案例:容器混合云方案,助力上海某互联网公司实现50%的降成本目标 ## 客户私有云 ## 华为公有云 GUI http / https Console Dev kubectl http / https Business User  冰种黄加绿花手链 可惜了。我原来有2条子手链。就我头像上的。留下一条来把花编上去。悔了。所以这个是冰种黄支持复鉴啊。。。 可出可不出。留下来的珠子。编手链里面。卖 混合栈  Native组件 ## 视频和动画 [Image](/uploads/documents/f/2/4/d/f24d6eb679fc89b96a162bb87c0a122e/p11_2.jpg) 动画 ## 关键问题解决 混合开发:工程管理和混合栈管理 外接纹理播放视频 图片缓存优化 无反射JSON序列化 私有PUB库、阿里生态适配 ## Flutter和Native性能简单比较 : http://wg21.link/p2300 • https://github.com/NVIDIA/stdexec.git • https://github.com/beman-project/execution26 • Sender/receiver networking: http://wg21.link/p2762 • Implementation: Implementation: https://github.com/beman-project/net29 •Async scope: http://wg21.link/p3149 TechAtBloomberg.com0 码力 | 8 页 | 2.19 MB | 1 年前3
Concurrency in RustConcurrency in Rust Alex Crichton ## What's Rust? Rust is a systems programming language that runs blazingly fast, prevents segfaults, and guarantees thread safety. ## Concurrency? Rust? Libraries • Deadlocks • Use after free Exploitable! • Double free Concurrency? Rust? Libraries Futures ## What's Rust? Rust is a systems programming language that runs blazingly fast, prevents segfaults auto& elem = vector[0]; vector.push_back(some_string); cout << elem; } ## Rust's Solution Ownership/Borrowing  Martin Geisler ## Contents Welcome to Comprehensive Rust 👑👑 1 Running the Course 13 1.1 Course 2.1 The Rust Ecosystem 18 2.2 Code Samples in This Training 19 2.3 Running Code Locally with Cargo 20 I Day 1: Morning 22 3 Welcome to Day 1 23 4 Hello, World 25 4.1 What is Rust? 25 4.2 2 Benefits of Rust 26 4.3 Playground 26 5 Types and Values 28 5.1 Hello, World 28 5.2 Variables 29 5.3 Values 29 5.4 Arithmetic 30 5.5 Type Inference 30 5.6 Exercise: Fibonacci 31 5.60 码力 | 378 页 | 1009.46 KB | 2 年前3
Comprehensive RustComprehensive Rust  Martin Geisler ## 차례 Comprehensive Rust 에 오신 것을 환영합니다 👑 1 강의전행 12 1.1 강의구성 13 1.2 단축키 15 1 강의에서의 코드샘플 18 2.3 로컬 환경의카고 19 I 1 일차 오전 20 3 1 일차개요 21 4 Hello World! 23 4.1 러스트란? 23 4.2 Rust 의이점 23 4.3 플레이그라운드 24 5 타입 및값 26 5.1 Hello World! 26 5.2 변수 27 5.3 값 27 5.4 연산 28 5 30.6 안전하지 않은 트레잇구현하기 182 30.7 FFI 래퍼 183 30.7.1 해답 185 IX 안드로이드 189 31 Welcome to Rust in Android 190 32 설치 191 33 빌드규칙 192 33.1 러스트라이너리 193 33.2 러스트라이브러리 193 34 AIDL0 码力 | 368 页 | 1.29 MB | 1 年前3
Apache HTTP Server Documentation Version 2.0# Apache HTTP Server Documentation Version 2.0  Apache Software Foundation February 3, 2014 ## About The PDF Documentation compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 This version of the Apache HTTP Server Documentation is converted from XML source files to L $ version of the documentation on the Apache HTTP Server website at http://httpd.apache.org/docs/2.0/ The Apache HTTP Server Documentation is maintained by the Apache HTTP Server Documentation Project. More information0 码力 | 682 页 | 2.05 MB | 1 年前3
Apache HTTP Server Documentation Version 2.2# Apache HTTP Server Documentation Version 2.2  Apache Software Foundation January 15, 2017 ## About The PDF Documentation compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 This version of the Apache HTTP Server Documentation is converted from XML source files to L $ version of the documentation on the Apache HTTP Server website at http://httpd.apache.org/docs/2.2/ The Apache HTTP Server Documentation is maintained by the Apache HTTP Server Documentation Project. More information0 码力 | 805 页 | 2.51 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100
相关搜索词
Rust HTTP协议栈终端通信场景Ylong HTTP客户端库异步IO状态机SOFAMeshService MeshX-PROTOCOLMultiplexingSidecar代理Kubernetes容器编排调度引擎容器技术混合云弹性伸缩FlutterDart全栈开发Dart Server三端一体化sender/receiver HTTP serverasynchronous frameworkminimalistic networking interfaceevent loopasync_scopeConcurrency in RustRustConcurrencyData RacesFuturesCargo类型系统变量和值控制流内存安全所有权并发PlaygroundApache HTTP Server升级新功能构建系统多协议支持非Unix平台性能API变化IPv6过滤器多语言错误响应模块开发模块配置认证缓存













