摘要:        
https://mp.weixin.qq.com/s/0jPq_YN_BtIHth84smR8WA    
阅读全文
 
        
        posted @ 2020-01-09 22:52
papering
阅读(1047)
推荐(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
阅读(499)
推荐(0)
        
            
        
        
摘要:        
goroutines inside of goroutines    
阅读全文
 
        
        posted @ 2020-01-08 15:16
papering
阅读(180)
推荐(0)
        
 
		
    
        
        
        
        posted @ 2020-01-07 15:50
papering
阅读(476)
推荐(0)
        
            
        
        
        
        posted @ 2020-01-07 15:50
papering
阅读(388)
推荐(0)
        
 
		
    
        
        
        
        posted @ 2020-01-06 19:03
papering
阅读(218)
推荐(0)
        
 
		
    
        
        
        
        posted @ 2020-01-05 17:11
papering
阅读(141)
推荐(0)
        
            
        
        
        
        posted @ 2020-01-05 17:08
papering
阅读(142)
推荐(0)
        
            
        
        
        
        posted @ 2020-01-05 10:50
papering
阅读(156)
推荐(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
阅读(389)
推荐(0)
        
 
		
    
        
        
摘要:        
对于任何一棵二叉树 终端节点数比度为2的节点数多1.    
阅读全文
 
        
        posted @ 2020-01-04 10:20
papering
阅读(2000)
推荐(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
阅读(867)
推荐(0)
        
            
        
        
摘要:        
https://cloud.tencent.com/developer/article/1041507    
阅读全文
 
        
        posted @ 2020-01-03 14:16
papering
阅读(203)
推荐(0)
        
            
        
        
        
        posted @ 2020-01-03 08:44
papering
阅读(289)
推荐(0)
        
 
		
    
        
        
摘要:        
依赖 偏移量而不是页码翻页 1、对已排序数据支持逆序请求;2、数据总量的变动不影响请求参数的构造;    
阅读全文
 
        
        posted @ 2019-12-31 16:11
papering
阅读(283)
推荐(0)
        
 
		
    
        
        
        
        posted @ 2019-12-30 20:36
papering
阅读(168)
推荐(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
阅读(316)
推荐(0)
        
            
        
        
摘要:        
https://redisbook.readthedocs.io/en/latest/compress-datastruct/ziplist.html    
阅读全文
 
        
        posted @ 2019-12-30 14:10
papering
阅读(182)
推荐(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
阅读(185)
推荐(0)
        
 
		
    
        
        
摘要:        
能够满足这样要求的哈希算法有很多,其中比较著名并且应用广泛的一个哈希算法,那就是MurmurHash 算法。尽管这个哈希算法在 2008 年才被发明出来,但现在它已经广泛应用到 Redis、MemCache、Cassandra、HBase、Lucene 等众多著名的软件中。    
阅读全文
 
        
        posted @ 2019-12-28 23:48
papering
阅读(484)
推荐(0)
        
            
        
        
        
        posted @ 2019-12-28 10:16
papering
阅读(351)
推荐(0)
        
 
		
    
        
        
        
        posted @ 2019-12-27 23:59
papering
阅读(502)
推荐(0)
        
            
        
        
摘要:        
https://www.jianshu.com/p/1a6faab3cae4    
阅读全文
 
        
        posted @ 2019-12-27 15:13
papering
阅读(429)
推荐(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
阅读(581)
推荐(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
阅读(315)
推荐(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
阅读(243)
推荐(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
阅读(332)
推荐(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
阅读(424)
推荐(0)
        
            
        
        
摘要:        
https://juejin.im/post/5da40462f265da5baf410a11    
阅读全文
 
        
        posted @ 2019-12-24 11:41
papering
阅读(241)
推荐(0)
        
            
        
        
摘要:        
阿里云Redis开发规范-阿里云开发者社区 https://developer.aliyun.com/article/531067 https://mp.weixin.qq.com/s/UWE1Kx6teNs6g8jjdHnI0A 阿里云Redis开发规范 付磊-起扬 云效 2018-04-25 摘    
阅读全文
 
        
        posted @ 2019-12-24 11:40
papering
阅读(688)
推荐(0)
        
 
		
    
        
        
摘要:        
mysql 字段值分布很少的字段要不要加索引_数据量超过多少加索引-CSDN博客 https://blog.csdn.net/qq_24935119/article/details/108601180 Mysql规范-阿里云开 发者社区 https://developer.aliyun.com/ar    
阅读全文
 
        
        posted @ 2019-12-23 22:30
papering
阅读(329)
推荐(0)
        
 
		
    
        
        
摘要:        
linux中高并发socket最大连接数的优化详解 https://m.jb51.net/article/106546.htm?from=singlemessage    
阅读全文
 
        
        posted @ 2019-12-22 22:49
papering
阅读(342)
推荐(0)
        
            
        
        
        
        posted @ 2019-12-22 00:15
papering
阅读(215)
推荐(0)
        
 
		
    
        
        
        
        posted @ 2019-12-21 15:02
papering
阅读(144)
推荐(0)
        
 
		
    
        
        
摘要:        
patchUpload.vue?5e29:406 Uncaught (in promise) DOMException: Failed to execute 'readAsArrayBuffer' on 'FileReader': The object is already busy reading    
阅读全文
 
        
        posted @ 2019-12-20 15:40
papering
阅读(2736)
推荐(0)
        
 
		
    
        
        
摘要:        
Asynchronous method in while loop https://stackoverflow.com/questions/43064719/javascript-asynchronous-method-in-while-loop let taskPool = new Promise    
阅读全文
 
        
        posted @ 2019-12-19 19:58
papering
阅读(381)
推荐(0)
        
            
        
        
        
        posted @ 2019-12-19 17:53
papering
阅读(357)
推荐(0)
        
 
		
    
        
        
        
        posted @ 2019-12-17 19:53
papering
阅读(236)
推荐(0)