会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
stupidstan2019
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
···
24
下一页
2023年6月10日
brpc环境
摘要: 【参考】 https://brpc.apache.org/zh/docs/getting_started/ 虚拟机:ubuntu2004-glibc 【流程】 1)安装依赖 sudo apt-get install -y git g++ make libssl-dev libgflags-dev l
阅读全文
posted @ 2023-06-10 10:38 stupidstan2019
阅读(38)
评论(0)
推荐(0)
2023年6月4日
malloc线程数分析
摘要: 【环境】 1)机器:ubuntu2004-glibc 2)libc位置 ll /lib/x86_64-linux-gnu/libc.so.6 lrwxrwxrwx 1 root root 12 Apr 7 2022 /lib/x86_64-linux-gnu/libc.so.6 -> libc-2.
阅读全文
posted @ 2023-06-04 21:42 stupidstan2019
阅读(30)
评论(0)
推荐(0)
tpcc压力模型数据
摘要: tpcc.xmind
阅读全文
posted @ 2023-06-04 21:39 stupidstan2019
阅读(19)
评论(0)
推荐(0)
pthread_cond_signal耗时分析
摘要: 【问题描述】 平均调用要3us 【内部耗时】 主要是futex_wait系统调用 【ftrace】 参考https://blog.csdn.net/weixin_44410537/article/details/103587609 sudo trace-cmd record -p function_
阅读全文
posted @ 2023-06-04 21:17 stupidstan2019
阅读(104)
评论(2)
推荐(0)
malloc 13us耗时分析定位
摘要: 【问题描述】 10个生产者malloc(50KB),1个消费者(模拟业务,1ms后free) 调用malloc接口大概13us,分析耗时 【调用栈】 【编译调试】 root@jch:~/glibc_test/glibc-2.31/build# make install -sj;gcc -g -L /
阅读全文
posted @ 2023-06-04 18:53 stupidstan2019
阅读(246)
评论(0)
推荐(0)
tpcc测试安装,量化tpcc数据
摘要: 【pg安装】 https://www.cnblogs.com/TangKnife/p/16053486.html 【tpcc客户端程序】 https://blog.csdn.net/twi_twi/article/details/128270884 【pg-waldump】 https://www.
阅读全文
posted @ 2023-06-04 10:05 stupidstan2019
阅读(66)
评论(0)
推荐(0)
tpcc介绍
摘要: 【参考】 https://www.jianshu.com/p/769611dd86b7 【备注】 TPC 是一系列事务处理和数据库基准测试的规范 TPC-C(Transaction Processing Performance Council)是针对 OLTP 的基准测试模型 tpmC 值(Tran
阅读全文
posted @ 2023-06-04 09:21 stupidstan2019
阅读(298)
评论(0)
推荐(0)
2023年3月12日
static_cast源码
摘要: 编译期做类型检查,c++11引入, 解决c语言直接转换不安全的问题/方便找转换代码build_static_cast_1 build_static_cast
阅读全文
posted @ 2023-03-12 16:45 stupidstan2019
阅读(90)
评论(0)
推荐(0)
reinterpret_cast笔记
摘要: 【参考】 https://stackoverflow.com/questions/573294/when-to-use-reinterpret-cast 1)static_cast指针转换void*保留了原地址 reinterpre_cast保证转换回来能获得原来的值 2)从int转换为float
阅读全文
posted @ 2023-03-12 10:03 stupidstan2019
阅读(37)
评论(0)
推荐(0)
2023年2月20日
braft资料
摘要: 1)leader_apply流程图 https://github.com/kasshu/braft-docs/blob/master/images/braft_leader_apply.png 相比follower,leader写时,多把response放在内存里 2)braft使用方法 https
阅读全文
posted @ 2023-02-20 23:52 stupidstan2019
阅读(81)
评论(2)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
···
24
下一页
公告