基于amqp实现的golang消息队列MaxQ7/1/2017 基于amqp实现的golang消息队列MaxQ http://192.168.10.11:3999/maxq.slide#1 1/22 基于amqp实现的golang消息队列 MaxQ 2017-07-01 张培培 饿了么-基础框架组 7/1/2017 基于amqp实现的golang消息队列MaxQ http://192.168.10.11:3999/maxq.slide#1 MaxQ架构模型 5. MaxQ相关特性 6. 使用场景和案例 7/1/2017 基于amqp实现的golang消息队列MaxQ http://192.168.10.11:3999/maxq.slide#1 3/22 1. 队列 跟消息队列相比,有哪些共性? 7/1/2017 基于amqp实现的golang消息队列MaxQ http://192.168.10.11:3999/maxq.slide#1 消息可靠性 生产消费关系 Pull/Push 7/1/2017 基于amqp实现的golang消息队列MaxQ http://192.168.10.11:3999/maxq.slide#1 5/22 2. IPC消息队列 跟消息队列相比,有哪些共性? 7/1/2017 基于amqp实现的golang消息队列MaxQ http://192.168.10.11:3999/maxq.slide#10 码力 | 22 页 | 1.45 MB | 1 年前3
2.2.1通过Golang+eBPF实现无侵入应用可观测通过Golang + eBPF实现无侵入应用可观测 张海彬 阿里云 应用可观测技术专家 目 录 eBPF简介 01 eBPF在云原生场景下的应用 02 微服务可观测的挑战 03 Golang + eBPF实现数据采集 04 构建完整的应用可观测系统 05 eBPF简介 第一部分 eBPF简介 01. eBPF简介 eBPF = extended Berkeley Packet 夯机宕机,资源异 常… 应用组件异常:线程池满,数据库连接无法获取, OOM,文件读取错误… 无法自顶向下端到端 串联导致棘手问题频 发。 Kubernetes下的可观测 Golang + eBPF实现数据采 集 第四部分 eBPF在可观测领域的优势 无侵入 多语言/多协议/多框架 全栈覆盖 无侵入性 • 无需修改代码 • 无需重启应用 • Verifier保证运行安全 程序跟其他的用户空间的程序没有太大区别 编译成二进制文件,可以适应不同运行环境 libbpf 扮演bpf程序装载机角色 开发人员只需要关注bpf程序的正确性和性能,不 需要关注其他依赖关系 通过Golang加载eBPF程序 01. 副标题 func loadSync() error { // Allow the current process to lock memory for eBPF0 码力 | 29 页 | 3.83 MB | 1 年前3
Golang 入门笔记更多Golang资料包:扫码进入Github 1. 算术运算符 算数运算符就是对数值类型的变量进行运算的,比如,加减乘除。在Go中运用非常的多 算数运算符 除法演示 //说明,如果运算的数都是整数,那么除后,将会去除小数位 fmt.Println(10 / 4) //2 var n1 float32 = 10 / 4 fmt.Println(n1) //2 //如果我们希望保留小数,那么就需要有浮点数参与运算 这样我们可以看到取模的一个本质运算 3. Golang 的自增只能当做一个独立的语言使用时,不能这样使用 b := a++ 或者 b := a-- 错误用法 4. Golang 的 ++ 和 -- 只能写在变量的后面,不能写在变量的前面,即,只有 a++, a-- 没有 ++a, --A 错误演示 5. Golang 的设计者去掉了 c/java 中自增和自减的容易混淆的写法,让golang 更加简介,统一(强制性) 变量 字符串 符号 分隔符 Go 语言一行代表一个语句的结束,不像 C 家族语言一样以分号结束 如果一个语句写多行就需要加一个分号,不推荐 字符串连接 Go 语言字符串连接通过 `+` 实现 案例 : fmt.Println("Google " + "Runoob") 关键字 关键字或保留字 预定义标识符 Go 语言的空格 1. 变量声明必须用空格隔开。例如: var age0 码力 | 2 页 | 511.29 KB | 1 年前3
Golang Warsaw #54Golang Warsaw #54 26 October 2023 – 18:30 7N, Puławska 182, WarszawaHostSponsorsAgenda 1. Go-first End to End Tests for Highly Stateful Features - Kuba Martin 2. Break / Your announcements (OpenSource Jakub Daliga, Lukasz Gut 4. Afterparty, slowly moving to a place close byLooking for speakers! • Golang specifics • Software engineering (implement/use/best practices) • Tech leadership and/or management jakubdal@gmail.com, wbarczynski@gmail.com Twitter/X: @golangwaw Slides: github.com/golangpoland/meetup_golang_warsaw Job Board: facebook.com/groups/golangpolandjobsQuestions? Join channel #poland on gophers0 码力 | 7 页 | 1.66 MB | 6 月前3
Golang Warsaw #54Golang Warsaw #54 26 October 2023 – 18:30 7N, Puławska 182, WarszawaHostSponsorsAgenda 1. Go-first End to End Tests for Highly Stateful Features - Kuba Martin 2. Break / Your announcements (OpenSource Jakub Daliga, Lukasz Gut 4. Afterparty, slowly moving to a place close byLooking for speakers! • Golang specifics • Software engineering (implement/use/best practices) • Tech leadership and/or management jakubdal@gmail.com, wbarczynski@gmail.com Twitter/X: @golangwaw Slides: github.com/golangpoland/meetup_golang_warsaw Job Board: facebook.com/groups/golangpolandjobsQuestions? Join channel #poland on gophers0 码力 | 7 页 | 833.54 KB | 6 月前3
Golang Warsaw #53Golang Warsaw #53 20 September 2023 – 18:30 Connectis_ (Varso Place), Chmielna 71, WarszawaHostSponsorsAgenda 1. Transitioning to Go - Robert Pajak 2. Break / Your announcements (OpenSource, event Kovalov 4. Afterparty, slowly moving to a place close byJoin Slido for Q&ALooking for speakers! • Golang specifics • Software engineering (implement/use/best practices) • Tech leadership and/or management jakubdal@gmail.com, wbarczynski@gmail.com Twitter/X: @golangwaw Slides: github.com/golangpoland/meetup_golang_warsaw Job Board: facebook.com/groups/golangpolandjobsQuestions? Join channel #poland on gophers0 码力 | 8 页 | 1.63 MB | 6 月前3
Golang Warsaw #55Golang Warsaw #55 24 January 2024 – 18:00 Okta – Koszykowa 61, WarsawHostSponsorsAgenda 1. Go-first End to End Tests for Highly Stateful Features - Kuba Martin 2. Break / Your announcements (OpenSource Jakub Daliga, Lukasz Gut 4. Afterparty, slowly moving to a place close byLooking for speakers! • Golang specifics • Software engineering (implement/use/best practices) • Tech leadership and/or management jakubdal@gmail.com, wbarczynski@gmail.com Twitter/X: @golangwaw Slides: github.com/golangpoland/meetup_golang_warsaw Job Board: facebook.com/groups/golangpolandjobsQuestions? Join channel #poland on gophers0 码力 | 7 页 | 1.34 MB | 6 月前3
Golang Warsaw #53Golang Warsaw #53 20 September 2023 – 18:30 Connectis_ (Varso Place), Chmielna 71, WarszawaHostSponsorsAgenda 1. Transitioning to Go - Robert Pajak 2. Break / Your announcements (OpenSource, event Kovalov 4. Afterparty, slowly moving to a place close byJoin Slido for Q&ALooking for speakers! • Golang specifics • Software engineering (implement/use/best practices) • Tech leadership and/or management jakubdal@gmail.com, wbarczynski@gmail.com Twitter/X: @golangwaw Slides: github.com/golangpoland/meetup_golang_warsaw Job Board: facebook.com/groups/golangpolandjobsQuestions? Join channel #poland on gophers0 码力 | 8 页 | 821.41 KB | 5 月前3
Build web application with Golangvalidation Multi-language support pprof Summary References preface 4 Build Web Application with Golang Purpose Because I'm interested in web application development, I used my free time to write this operating systems. This is probably the easiest way to get started. You can get the installers from the Golang Download Page. Install it yourself from source code. Popular with developers who are familiar with add-apt-repository ppa:gophers/go sudo apt-get update sudo apt-get install golang-go wget wget https://storage.googleapis.com/golang/go1.8.3.linux-amd64.tar.gz sudo tar -xzf go1.8.3.linux-amd64.tar.gz -C0 码力 | 327 页 | 1.63 MB | 1 年前3
Golang Manual By AstaXie-20120522writing idiomatic Go code. For the full story, consult Go's extensive documentation. Subscribe to the golang-announce mailing list to be notified when a new stable version of Go is released. Community resources several Go programs deployed in production inside Google. A public example is the server behind http://golang.org. It's just the godoc document server running in a production configuration on Google App Engine languages. However, if you choose to add the Google logo or branding to your site (it does not appear on golang.org), you will need to abide by the guidelines at http://www.google.com/permissions/guidelines.html0 码力 | 6205 页 | 12.83 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100













