Dapr september 2023 security audit report/usr/local/go/src/runtime/asm_amd64.s:496 +0x49 fp=0x7fffb29cd820 sp=0x7fffb29cd818 pc=0x462329 goroutine 1 [running]: runtime.systemstack_switch() /usr/local/go/src/runtime/asm_amd64.s:463 fp=0xc00011bc68 /usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc00011bfe8 sp=0xc00011bfe0 pc=0x4644e1 goroutine 2 [force gc (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /usr/local/go/src/runtime/proc sp=0xc00004efe0 pc=0x4644e1 created by runtime.init.6 /usr/local/go/src/runtime/proc.go:293 +0x25 goroutine 3 [GC sweep wait]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /usr/local/go/src/runtime/proc0 码力 | 47 页 | 1.05 MB | 1 年前3
SOFAMOSN持续演进路径及实践分享无法识别协议, 断开链接 继续读取数据技术案例 – HTTP/2.0优化 官方HTTP/2.0实现问题: 1. syscall read较多,效率低下 2. 每个stream分配单独的goroutine处理, 调度开销高 3. 临时对象多,GC占比高 4. 基本实现了RFC中MUST部分,部分功 能需求上不匹配,如GRPC trailer实现技术案例 – HTTP/2.0优化 优化思路:适 implmented in Golang runtime conn goroutine conn.read conn goroutine conn.read …… 调度切换/就绪通知技术案例 – 长连接网关RawEpoll模式 RawEpoll模式:使用epoll感知到可读事件之后,再从协程池中为其分配协程进行处理。 大幅减少goroutine实例数量,从而降低内存、调度开销 Netpoll implmented implmented in Golang runtime conn.read conn …… 调度切换/就绪通知 3.请求处理过程中,协程调度 与经典netpoll模式一致 Raw Epoll goroutine pool conn.read conn 1. 链接建立后,向epoll注册oneshot 可读事件监听;并且此时不允许有协 程调用conn.read,避免与runtime netpoll冲突。0 码力 | 29 页 | 7.03 MB | 6 月前3
Istio Security Assessmentsuch as certificates, keys, names of objects in the clusters, and more that should be protected. goroutine profile: total 380 32 @ 0x4374a0 0x405f77 0x405c3b 0x135de04 0x4674a1 # 0x135de03 k8s.io/client- • Click on the various options between cmdline, goroutine, heap, threadcreate, etc. • To dump the stack of Pilot run visit the /debug/pprof/goroutine?debug=2 endpoint • Click on “trace” and download the0 码力 | 51 页 | 849.66 KB | 1 年前3
2.7 Harbor开源项目容器镜像远程复制的实现completed Front End Registry Worker Producer Consumer Job queue dispatch Available worker queue Goroutine as Lightweight Thread • Simple syntax • go f(x,y,z) • Concurrency ( asynchronousness ) • Shared operations •Monitoring and logging •Container image replication is very welcome by users Summary •Goroutine is great for concurrency programming. •Channel used for coordination between goroutines. •State0 码力 | 37 页 | 3.47 MB | 1 年前3
01. MOSN 高性能网络扩展实践 - 王发康extension filter 4 dispatch Data Plane MoE 2 cgo request 5 notify Request goroutine 3.2 async 3.1 start goroutine CGO 6 cgo response Counter Service redis MoE 方案介绍 — GMP 中 P 资源问题 Other0 码力 | 29 页 | 2.80 MB | 1 年前3
Istio audit report - ADA Logics - 2023-01-30 - v1.0Running this reproducer will result in either: panic: open fileToCopy: no such file or directory goroutine 1 [running]: main.main() /tmp/go-poc/main.go:61 +0x1db exit status 2 … which means the attacker contents are not equal to the current file contents. The attacker has won the race. +++++++++++++++ goroutine 1 [running]: main.main() /tmp/go-poc/main.go:63 +0x1cc … which means the attacker won the race0 码力 | 55 页 | 703.94 KB | 1 年前3
蚂蚁金服 API Gateway Mesh 思考与实践蚂蚁金服「三板斧」 API Gateway Mesh 落地挑战 风险 运维 性能 功能 上线不是一件容易的事 Golang 历史债清理 sian->protobuf ead->goroutine sigma 已知的风险都不是风险16/21 M O S N A P P Gateway LB Spanner x % x*(100-y) % x*y % 100-x %0 码力 | 22 页 | 1.72 MB | 6 月前3
KubeCon2020/大型Kubernetes集群的资源编排优化one of the essential functions on the cloud, but the HPA Controller of native K8S use only one goroutine to handle the scaling of all businesses in the cluster, and personalization configuration is0 码力 | 27 页 | 3.91 MB | 1 年前3
36-云原生监控体系建设-秦晓辉kubelet_pod_start_duration_seconds*:histogram类型,描述pod从pending 状态进入running状态花费的时间 • go_goroutines:kubelet的goroutine的数量 • kubelet_pleg_relist_duration_seconds*:histogram类型,pleg是Pod Lifecycle Event Generator, • 如果这个时间花费太大,会对0 码力 | 32 页 | 3.27 MB | 6 月前3
Dapr june 2023 fuzzing audit reportRunning this PoC will result in the following panic: panic: runtime error: index out of range [-1] goroutine 1 [running]: crypto/internal/bigmod.NewModulusFromBig(0xc00014e080?) /usr/local/go/src/crypto/internal/bigmod/nat0 码力 | 19 页 | 690.59 KB | 1 年前3
共 12 条
- 1
- 2













