随笔 - 225  文章 - 0  评论 - 6  阅读 - 75098
03 2021 档案
redis6.0.5之HyperLogLog阅读笔记2-基数估算宏定义
摘要:struct hllhdr { char magic[4]; /* "HYLL" */ 4个字符的魔数HYL uint8_t encoding; /* HLL_DENSE or HLL_SPARSE. */ 密集表示 还是稀疏表示 uint8_t notused[3]; /* Reserved fo 阅读全文
posted @ 2021-03-16 19:13 子虚乌有 阅读(144) 评论(0) 推荐(0) 编辑
redis6.0.5之HyperLogLog阅读笔记1-基数估算前言翻译
摘要:/* The Redis HyperLogLog implementation is based on the following ideas: Redis的超对数实现是基于以下的想法: * * The use of a 64 bit hash function as proposed in [1] 阅读全文
posted @ 2021-03-11 17:28 子虚乌有 阅读(176) 评论(0) 推荐(0) 编辑
关于一个请求的处理过程
摘要:做了两个周的项目终于主干测试通过, 至于各种意外情况,后面再看看实际情况。一般一个请求处理用到以下几个状态1apply2dealing3failbook4succbook5fail6succ整体过程如下:接受请求的时候,插入一条数据库的记录,此条记录状态为apply,插入记录成功就返回请求成功,然后 阅读全文
posted @ 2021-03-11 16:19 子虚乌有 阅读(89) 评论(0) 推荐(0) 编辑
辅助小程序,帮忙拷贝文件(备忘)
摘要:import osimport shutil dirpath = "D:\\20210309\\t20210310"isExists = os.path.exists(dirpath)if not isExists: os.makedirs(dirpath) print(dirpath+' 创建成功 阅读全文
posted @ 2021-03-10 11:08 子虚乌有 阅读(47) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示