摘要:
https://learnku.com/docs/go-blog/qihoo/6532 Use a Task Pool, a mechanism with a group of long-lived goroutines consuming global task or message queues
阅读全文
posted @ 2020-01-11 14:19
papering
阅读(267)
推荐(0)
摘要:
https://talks.golang.org/2015/go-gc.pdf https://www.oschina.net/translate/go-gc-solving-the-latency-problem-in-go-1-5?comments&p=1 Go: 成千上万的 goroutine
阅读全文
posted @ 2020-01-11 13:05
papering
阅读(217)
推荐(0)
摘要:
https://people.cs.umass.edu/~moss/papers/jgrande-2001-sapphire.pdf Many concurrent garbage collection (GC) algorithms have been devised, but few have
阅读全文
posted @ 2020-01-11 13:03
papering
阅读(226)
推荐(0)
摘要:
Getting to Go: The Journey of Go's Garbage Collector https://blog.golang.org/ismmkeynote
阅读全文
posted @ 2020-01-11 12:53
papering
阅读(266)
推荐(0)
posted @ 2020-01-10 17:29
papering
阅读(191)
推荐(0)
摘要:
https://en.wikipedia.org/wiki/Log-structured_merge-tree
阅读全文
posted @ 2020-01-10 17:28
papering
阅读(808)
推荐(0)
摘要:
映像名称: WmiPrvSE.exePID: 9104会话名 : Services会话# : 0内存使用 : 9,648 K状态 : Unknown用户名 : 暂缺CPU 时间: 0:00:00窗口标题 : 暂缺 映像名称: tasklist.exePID: 7712会话名 : RDP-Tcp#55
阅读全文
posted @ 2020-01-10 15:18
papering
阅读(286)
推荐(0)
posted @ 2020-01-09 23:08
papering
阅读(225)
推荐(0)
摘要:
https://hbase.apache.org/devapidocs/org/apache/hadoop/hbase/util/MurmurHash.html https://github.com/spaolacci/murmur3https://github.com/google/guava/b
阅读全文
posted @ 2020-01-09 23:07
papering
阅读(221)
推荐(0)
摘要:
1 http://man7.org/linux/man-pages/man2/mprotect.2.html https://blog.csdn.net/yanxiangyfg/article/details/52121605
阅读全文
posted @ 2020-01-09 23:07
papering
阅读(382)
推荐(0)
摘要:
https://mp.weixin.qq.com/s/0jPq_YN_BtIHth84smR8WA
阅读全文
posted @ 2020-01-09 22:52
papering
阅读(1053)
推荐(0)
摘要:
入 Go 必读:大型Go工程的项目结构及实战思考 原创 毛剑 QCon 今天
阅读全文
posted @ 2020-01-08 23:17
papering
阅读(829)
推荐(0)
摘要:
CommonMistakes https://golang.org/doc/faq#closures_and_goroutines Why is there no goroutine ID? ¶ Goroutines do not have names; they are just anonymou
阅读全文
posted @ 2020-01-08 23:16
papering
阅读(502)
推荐(0)
摘要:
goroutines inside of goroutines
阅读全文
posted @ 2020-01-08 15:16
papering
阅读(182)
推荐(0)
posted @ 2020-01-07 15:50
papering
阅读(478)
推荐(0)
posted @ 2020-01-07 15:50
papering
阅读(389)
推荐(0)
posted @ 2020-01-06 19:03
papering
阅读(220)
推荐(0)
posted @ 2020-01-05 17:11
papering
阅读(143)
推荐(0)
posted @ 2020-01-05 17:08
papering
阅读(143)
推荐(0)
posted @ 2020-01-05 10:50
papering
阅读(158)
推荐(0)
摘要:
小结: 1、内存对齐:空间换时间 2、尽管类型T1和T2拥有相同的字段集,但是它们的尺寸并不相等。 type T0 struct { a int8 b int64 c int16 } type T1 struct { a int8 c int16 b int64 } 64位操作系统,基于x64的处理
阅读全文
posted @ 2020-01-05 10:29
papering
阅读(395)
推荐(0)
摘要:
对于任何一棵二叉树 终端节点数比度为2的节点数多1.
阅读全文
posted @ 2020-01-04 10:20
papering
阅读(2001)
推荐(0)
摘要:
http://blog.itpub.net/31561269/viewspace-2639083/ https://juejin.im/post/5cfd060ee51d4556f76e8067 适合的场景 数据库防止穿库 Google Bigtable,Apache HBase和Apache Ca
阅读全文
posted @ 2020-01-03 16:11
papering
阅读(882)
推荐(0)
摘要:
https://cloud.tencent.com/developer/article/1041507
阅读全文
posted @ 2020-01-03 14:16
papering
阅读(204)
推荐(0)
posted @ 2020-01-03 08:44
papering
阅读(291)
推荐(0)
摘要:
依赖 偏移量而不是页码翻页 1、对已排序数据支持逆序请求;2、数据总量的变动不影响请求参数的构造;
阅读全文
posted @ 2019-12-31 16:11
papering
阅读(284)
推荐(0)
posted @ 2019-12-30 20:36
papering
阅读(170)
推荐(0)
摘要:
https://gameinstitute.qq.com/community/detail/101951 https://www.infoq.cn/article/tencent-ranking-system-practice-and-challenges
阅读全文
posted @ 2019-12-30 18:00
papering
阅读(321)
推荐(0)
摘要:
https://redisbook.readthedocs.io/en/latest/compress-datastruct/ziplist.html
阅读全文
posted @ 2019-12-30 14:10
papering
阅读(185)
推荐(0)
摘要:
RAID系统被初始化 https://forum.huawei.com/enterprise/zh/thread-256077-1-1.html
阅读全文
posted @ 2019-12-30 14:10
papering
阅读(346)
推荐(0)
摘要:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/start
阅读全文
posted @ 2019-12-30 12:17
papering
阅读(191)
推荐(0)
摘要:
能够满足这样要求的哈希算法有很多,其中比较著名并且应用广泛的一个哈希算法,那就是MurmurHash 算法。尽管这个哈希算法在 2008 年才被发明出来,但现在它已经广泛应用到 Redis、MemCache、Cassandra、HBase、Lucene 等众多著名的软件中。
阅读全文
posted @ 2019-12-28 23:48
papering
阅读(487)
推荐(0)
posted @ 2019-12-28 10:16
papering
阅读(352)
推荐(0)
posted @ 2019-12-27 23:59
papering
阅读(507)
推荐(0)
摘要:
https://www.jianshu.com/p/1a6faab3cae4
阅读全文
posted @ 2019-12-27 15:13
papering
阅读(430)
推荐(0)
摘要:
https://docs.open.alipay.com/289/105656 3、access_token 有效期:access_token取决于授权时指定的scope的有效期,如果授权时指定多个scope,最终的access_token的有效期取决于有效期最短的scope。 access_tok
阅读全文
posted @ 2019-12-26 17:59
papering
阅读(593)
推荐(0)
摘要:
https://talks.golang.org/2013/advconc.slide#5 It's easy to go, but how to stop? Long-lived programs need to clean up. Let's look at how to write progr
阅读全文
posted @ 2019-12-25 19:15
papering
阅读(321)
推荐(0)
摘要:
https://go.dev/blog/pipelines Go Concurrency Patterns: Pipelines and cancellation Sameer Ajmani13 March 2014 Introduction Go's concurrency primitives
阅读全文
posted @ 2019-12-25 17:41
papering
阅读(249)
推荐(0)
摘要:
小结: 1、 Background is the root of any Context tree; it is never canceled: 2、 https://blog.golang.org/context Sameer Ajmani29 July 2014 Introduction In
阅读全文
posted @ 2019-12-25 15:47
papering
阅读(338)
推荐(0)
摘要:
tick := time.NewTicker(4000 * time.Millisecond) select { case i := <-data2send: log.Println(i) s := convertMsg(i) producer.Produce(&kafka.Message{ Top
阅读全文
posted @ 2019-12-24 17:02
papering
阅读(432)
推荐(0)