2.1.7 企业级 Go HTTP 框架在字节跳动的实践GO CN 企业级 Go HTTP 框架在字节跳动的实践 高文举 字节跳动服务框架 Hertz 项目负责人 字节内部框架变迁 01 企业级框架设计考量 02 Hertz 架构和特点 03 总结 04 第一部分 字节内部框架变迁 ’ alt=‘OCR图片’/> 字节内部框架变迁 2014年 引入Golang 2016年 Ginex发布 高并发业务需求长链接推送服务 2020年初 Hertz启动 alt=‘OCR图片’/> 字节内部框架变迁 2万 1亿 10万 ’ alt=‘OCR图片’/> 第二部分 企业级框架设计考量 ’ alt=‘OCR图片’/> 企业级框架设计考量 开荒的时代 公司大规模面向 Golang 语言转型 框架伴随业务野蛮生长 补齐基础设施后便直接交付业务,迭代迅速 “大力出奇迹” 先解决需求,其他的往后放 业务共同参与维护 框架和业务侧共同维护一个代码仓库 ’ ’ alt=‘OCR图片’/> 企业级框架设计考量 成本 > 收益后自然寻求变化 ’ alt=‘OCR图片’/> 企业级框架设计考量 内部 扩展性 可控性 业务视角 质量建设 外部 功能需求 性能需求 易用性 稳定性 Hertz ’ alt=‘OCR图片’/> 第三部分 Hertz 核心特点 ’ alt=‘OCR图片’/> Hertz 核心特点 解构框架 连接处理 协议处理 路由处理0 码力 | 38 页 | 5.20 MB | 1 月前3
go web 框架 严清We Use Go Web Frameworks Web Service 框架解决的核心问题 —— 严清 关于我・五年 JS,一年 Go,也玩 Rust Github 满满绿格子见证我开发生涯的一面 - 16 年底组建 Go 团队,重构后端服务体系,为此造了一些轮子,如 Gear 框架 基于 kubernetes 和 SOA,部分已上线,如 TCM 消息推送服务直接提供 HTTP/2 和 gRPC Use Go Web Frameworks -- Joe Chasing • http package 能力强大,已是一个 web 框架 HTTP能力确实相对完整  - 即使有更复杂的需求,即插即用的包管理机制也能轻易实现 Go 的大糟点啊,学学 的大糟点啊,学学 Rust - 第三方框架都有学习成本,踩上坑就得潜入源码求解决 其实就两三千行代码,都是精华,值得看 如果你只写 Hello World 或 Todolist,或者是个人开发者、爱折腾,没问题!否则,还是使用一款框架吧! ## Web 框架要解决三个核心问题 - 定义灵活、一致的开发模式 简单易上手,支撑大规模复杂应用,支撑团队开发 - 集成简洁、完善的异常处理能力 不被0 码力 | 23 页 | 333.12 KB | 2 年前3
Istio-redirector: the way
to go to manage
thousands of HTTP
redirections## I stio-redirector: the way to go to manage thousands of HTTP redirections Etienne Fontaine (@etifontaine) IstioCon ## Why do we need redirections?  GitHub: NOT SURE IF HTTP SERVICE  OR GRPC BEHIND GRPC-GATEWAY ngflip.com ## Options to migrate a service from HTTP to gRPC • Everything RL) runtime.OtherErrorHandler = func(w http.ResponseWriter, r *http.Request, msg string, code int) { if code ≠ http.StatusNotFound && code ≠ http.StatusMethodNotAllowed { runtime0 码力 | 6 页 | 740.76 KB | 2 年前3
云原生go-zero微服务框架设计思考## 云原生go-zero微服务框架设计思考 万俊峰Kevin@好未来 ## 关于我 ## 万 俊峰Kevin go-zero作者 好未来资深专家 晓黑板研发负责人 十多年研发团队管理经验 近20年开发和架构经验 ## Agenda go-zero之前世今生 go-zero是如何设计的 go-zero如何高效解决问题 ## go-zero之前世今生  ## go-zero的由来 ● 单体服务的困局 ● 架构的选型 ● 如何无痛切换  ## go-zero是什么? Web & RPC微服务框架 ● 微服务代码生成工具goctl ☑ ☑ 通用API定义规范 ## go-zero的设计原则 ● 保持简单,第一原则 弹性设计,面向故障编程 工具大于约定和文档 ● 尽可能约束做一件事只有一种方式 ● 对业务开发友好,封装复杂度 ## go-zero是如何设计的 客户端 iOS 安卓 web PC HTTP协议 鉴权&防重放 加解密 日志记录 API端 异常捕获 监控报警 数据统计 并发控制0 码力 | 29 页 | 5.70 MB | 1 年前3
Creating a Sender/Receiver HTTP Server## +24 ## Creating a Sender/Receiver HTTP Server ## DIETMAR KÜHL 20 24 September 15 - 20 ## Objective • Create a basic HTTP server. • Allow a single-threaded server handling multiple clients. • std::execution (sender/receiver): 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
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
Apache HTTP Server Documentation Version 2.4Apache HTTP Server Documentation Version 2.4 Apache Software Foundation October 3, 2017 ## About The PDF Documentation Licensed to the Apache Software Foundation (ASF) under one or more contributor 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.4/ The Apache HTTP Server Documentation is maintained by the Apache HTTP Server Documentation Project. More information0 码力 | 1111 页 | 4.11 MB | 1 年前3
Apache HTTP Server Documentation Version 2.4# Apache HTTP Server Documentation Version 2.4  Apache Software Foundation March 13, 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.4/ The Apache HTTP Server Documentation is maintained by the Apache HTTP Server Documentation Project. More information0 码力 | 1031 页 | 3.23 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100
相关搜索词
Hertz企业级Go HTTP框架字节跳动CloudWeGoGolangGear框架Web框架KubernetesSOAHTTPIstio-redirectorIstioHTTP redirectionsCSV to Istio configurationGolang servicegrpc-gatewayhttputil.ReverseProxygRPCGoIterative migrationgo-zero微服务框架云原生RPCHTTP协议sender/receiver HTTP serverasynchronous frameworkminimalistic networking interfaceevent loopasync_scopeApache HTTP Server升级新功能构建系统多协议支持非Unix平台性能API变化IPv6过滤器多语言错误响应模块开发模块配置认证缓存Developer DocumentationModulePlatform-specific NotesConfigurationAPI changes













