摘要:
/Go/src/container/list/list.go:10 // remove removes e from its list, decrements l.len, and returns e.func (l *List) remove(e *Element) *Element { e.pr
阅读全文
posted @ 2020-11-18 16:35
papering
阅读(137)
推荐(0)
摘要:
NGINX and the "Power of Two Choices" Load-Balancing Algorithm - NGINX https://www.nginx.com/blog/nginx-power-of-two-choices-load-balancing-algorithm/
阅读全文
posted @ 2020-11-18 10:36
papering
阅读(570)
推荐(0)
摘要:
https://mp.weixin.qq.com/s/k8WNWpCIVl4xTmP3TQ_gxQ
阅读全文
posted @ 2020-11-18 09:46
papering
阅读(173)
推荐(0)
摘要:
https://mp.weixin.qq.com/s/0monDPkAlMk7Yhq9swW7gQ 原创 郭彦梅 InfoQ 2020-11-17 近来 FreeWheel 微服务业务团队的业务逐渐扩大,单体服务已经无法胜任,于是我们如火如荼地开展了向微服务迁移的工作,一时间,服务如雨后春笋般冒了出
阅读全文
posted @ 2020-11-17 11:20
papering
阅读(145)
推荐(0)
摘要:
https://www.ietf.org/rfc/rfc2328.txt https://www.ietf.org/rfc/rfc2328.txt
阅读全文
posted @ 2020-11-16 17:46
papering
阅读(142)
推荐(0)
摘要:
draft-thomas-reed-ospf-lite-01 - ospf-lite https://tools.ietf.org/html/draft-thomas-reed-ospf-lite-01 3. TCP/UDP port numbers The OSPF-lite protocol r
阅读全文
posted @ 2020-11-16 16:44
papering
阅读(838)
推荐(0)
摘要:
https://github.com/grpc/grpc/blob/master/doc/health-checking.md GRPC Health Checking Protocol Health checks are used to probe whether the server is ab
阅读全文
posted @ 2020-11-16 15:57
papering
阅读(442)
推荐(0)
摘要:
pkg/ratelimit/bbr/bbr.go:68 github.com/go-kratos // BBR implements bbr-like limiter.// It is inspired by sentinel.// https://github.com/alibaba/Sentin
阅读全文
posted @ 2020-11-16 15:54
papering
阅读(904)
推荐(0)
摘要:
EMA algorithm: https://blog.csdn.net/m0_38106113/article/details/81542863
阅读全文
posted @ 2020-11-16 15:52
papering
阅读(127)
推荐(0)
摘要:
https://www.exploit-db.com/docs/english/45906-cors-attacks.pdf What is CORS (cross-origin resource sharing)? Tutorial & Examples | Web Security Academ
阅读全文
posted @ 2020-11-13 14:56
papering
阅读(350)
推荐(0)
摘要:
OPTIONS的预请求(Preflighted Request) Ajax 请求中出现OPTIONS(Request Method: OPTIONS)_qiao-CSDN博客 https://blog.csdn.net/qq_41604686/article/details/100512571 鉴于
阅读全文
posted @ 2020-11-12 20:57
papering
阅读(374)
推荐(0)
摘要:
paladin https://v1.go-kratos.dev/#/config-paladin example Service(在线配置热加载配置) # service.go type Service struct { ac *paladin.Map } func New() *Service
阅读全文
posted @ 2020-11-11 10:49
papering
阅读(357)
推荐(0)
摘要:
"A monkey patch is a way to extend or modify the run-time code of dynamic languages without altering the original source code." - Wikipedia
阅读全文
posted @ 2020-11-11 10:42
papering
阅读(140)
推荐(0)
摘要:
https://baike.baidu.com/item/UDP%20flood/5504851 UDPFlood是日渐猖厥的流量型DoS攻击,原理也很简单。常见的情况是利用大量UDP小包冲击DNS服务器或Radius认证服务器、流媒体视频服务器。100k bps的UDPFlood经常将线路上的骨干
阅读全文
posted @ 2020-11-10 10:29
papering
阅读(227)
推荐(0)
摘要:
https://mp.weixin.qq.com/s/Tyl6dSb7mHBuqqN6WvEuaw
阅读全文
posted @ 2020-11-10 10:13
papering
阅读(200)
推荐(0)
摘要:
小结: 1、 通过传入指针修改变量值 i := 123 f := func(n *int) { *n = 567 } f(&i) 2、 如果是 int 型的指针,那么编译器就会产生提取四个字节的指令,char 则只提取一个字节,以此类推。 下面是指针内存示意图: pa 指针首先是一个变量,它本身也占
阅读全文
posted @ 2020-11-07 23:43
papering
阅读(239)
推荐(0)
摘要:
src/internal/poll/fd_unix.go:85 // Close closes the FD. The underlying file descriptor is closed by the// destroy method when there are no remaining r
阅读全文
posted @ 2020-11-06 15:25
papering
阅读(825)
推荐(0)
摘要:
vendor/go.mongodb.org/mongo-driver/x/mongo/driver/session/session_pool.go:17// Node represents a server session in a linked listtype Node struct { *Se
阅读全文
posted @ 2020-11-05 10:44
papering
阅读(160)
推荐(0)
摘要:
TwoHardThings https://martinfowler.com/bliki/TwoHardThings.html https://github.com/cch123/golang-notes/blob/master/memory_barrier.md
阅读全文
posted @ 2020-11-05 10:08
papering
阅读(256)
推荐(0)
摘要:
https://mp.weixin.qq.com/s/UFqNDkRci7yOaMyuRG2fUw 如何评审功能测试用例? 原创 guxs,lily 搜狗测试 2016-04-29
阅读全文
posted @ 2020-11-02 15:12
papering
阅读(118)
推荐(0)
摘要:
走进Golang之编译器原理_大愚Talk-CSDN博客 https://blog.csdn.net/hel12he/article/details/103061921 go编译器 - 知乎 https://zhuanlan.zhihu.com/p/52614346 Go 语言编译过程概述 | Go
阅读全文
posted @ 2020-11-02 13:54
papering
阅读(139)
推荐(0)
摘要:
oblet - The Go Programming Language https://golang.google.cn/search?q=oblet // put enqueues a pointer for the garbage collector to trace. 174 // obj m
阅读全文
posted @ 2020-11-02 10:35
papering
阅读(191)
推荐(0)
摘要:
The Garbage Collection Handbook The Garbage Collection Handbook http://gchandbook.org/editions.html // The algorithm decomposes into several steps. //
阅读全文
posted @ 2020-11-02 09:39
papering
阅读(244)
推荐(0)
摘要:
知乎社区核心业务 Golang 化实践 - 知乎 https://zhuanlan.zhihu.com/p/48039838
阅读全文
posted @ 2020-10-31 22:44
papering
阅读(492)
推荐(0)
摘要:
Boyer-Moore 投票算法 http://theory.stanford.edu/~trevisan/cs154-12/notestream.pdf 众数
阅读全文
posted @ 2020-10-30 09:36
papering
阅读(157)
推荐(0)
摘要:
Uber如何解决2000多个微服务带来的复杂性问题? Adam Gluck 架构头条 2020-10-29 https://mp.weixin.qq.com/s/N7fVDZVm8uC9wVvd9DQ0qw
阅读全文
posted @ 2020-10-29 14:18
papering
阅读(148)
推荐(0)
摘要:
https://github.com/unknwon/the-way-to-go_ZH_CN/blob/master/eBook/08.1.md map 传递给函数的代价很小:在 32 位机器上占 4 个字节,64 位机器上占 8 个字节,无论实际上存储了多少数据。通过 key 在 map 中寻找值
阅读全文
posted @ 2020-10-29 10:08
papering
阅读(184)
推荐(0)
摘要:
曹春晖:谈一谈 Go 和 Syscall https://juejin.im/post/6844903845475139597
阅读全文
posted @ 2020-10-27 16:49
papering
阅读(209)
推荐(0)
摘要:
为什么 Go 模块在下游服务抖动恢复后,CPU 占用无法恢复 https://xargin.com/cpu-idle-cannot-recover-after-peak-load/ 极端情况下收缩 Go 的线程数 https://www.xargin.com/shrink-go-threads/
阅读全文
posted @ 2020-10-27 16:43
papering
阅读(147)
推荐(0)
摘要:
https://mp.weixin.qq.com/s/B577CdUkWCp_XgUc1VVvSQ asmshare/layout.md at master · cch123/asmshare https://github.com/cch123/asmshare/blob/master/layout
阅读全文
posted @ 2020-10-27 16:36
papering
阅读(200)
推荐(0)
posted @ 2020-10-26 23:05
papering
阅读(498)
推荐(0)
摘要:
https://mp.weixin.qq.com/s/J4RXtKanh3IMr4fY7t0nyQ Serverless对研发效能的变革和创新 杨皓然(不瞋) 阿里巴巴中间件 2020-10-23
阅读全文
posted @ 2020-10-23 19:20
papering
阅读(159)
推荐(0)
摘要:
https://mp.weixin.qq.com/s/8P_xsPOmxAhkFT56aEEqAQ QCon QCon全球软件开发大会 2020-10-22 采访嘉宾:徐成选 采访整理:薛梁 今年年初的疫情,让线上教育平台都加大了线上宣传的力度,我也多多少少看过伴鱼英语的广告,于是就关注起来,原来这
阅读全文
posted @ 2020-10-22 20:49
papering
阅读(549)
推荐(0)
摘要:
community/owners.md at master · kubernetes/community https://github.com/kubernetes/community/blob/master/contributors/guide/owners.md OWNERS spec The
阅读全文
posted @ 2020-10-22 15:23
papering
阅读(744)
推荐(0)
摘要:
https://mp.weixin.qq.com/s/IaxAnWfVqe3mM0bHFVV5Gg 软件开发必修课:你该知道的GRASP职责分配模式 原创 悟真 阿里技术 今天 收录于话题 #设计模式 3 #领域建模 2 #架构 15 #RDD 1
阅读全文
posted @ 2020-10-22 10:37
papering
阅读(194)
推荐(0)
摘要:
4.架构风格 vs. 架构模式 vs. 设计模式(译) - 简书 https://www.jianshu.com/p/d8dce27f279f
阅读全文
posted @ 2020-10-22 10:33
papering
阅读(187)
推荐(0)
摘要:
https://github.com/julienschmidt/httprouter/
阅读全文
posted @ 2020-10-21 14:15
papering
阅读(135)
推荐(0)
摘要:
https://mp.weixin.qq.com/s/MYSF8lCF92ItG_Lc8nOspg 一个加班多新人多团队,我们的代码问题与重构 陈于喆 高可用架构 2020-10-21 微服务编码问题 RPC 接口必须是业务职责 RPC 接口是微服务的生产者提供一定的能力给到消费者进行使用,这个时候
阅读全文
posted @ 2020-10-21 13:48
papering
阅读(229)
推荐(0)
摘要:
一套高可用、易伸缩、高并发的IM群聊、单聊架构方案设计实践 一套高可用、易伸缩、高并发的IM群聊、单聊架构方案设计实践-IM开发/专项技术区 - 即时通讯开发者社区! http://www.52im.net/thread-2015-1-1.html 一套高可用、易伸缩、高并发的IM群聊、单聊架构方案
阅读全文
posted @ 2020-10-20 19:36
papering
阅读(624)
推荐(0)
posted @ 2020-10-19 13:54
papering
阅读(95)
推荐(0)