- 博客(4)
- 资源 (7)
- 收藏
- 关注
原创 SNAPPY,ZLIB,LZ4,gzip几个压缩算法的对比
以下是各种压缩方式下,应用服务器的性能数据 场景 响应时间 QPS CPU 网络带宽(out) GC数目 ==================================================================== 压缩:无 ...
2019-02-21 19:42:26
16087
2
原创 java调优笔记
1. dstat每秒收集一次系统关键信息,相比Zabbix的分钟级数据更能抓住啊尖峰点,相比其他几个类似的监控命令,dstat的功能更完整。原理是从/proc 这个伪文件系统读取数据,只会占一个核的2%左右CPU,不造成消耗。1.1 获取日志// 输出到控制台 dstat -tamp // 输出到日志 dstat -tamp > /tmp/dstat.log &1...
2019-02-21 09:49:38
183
原创 git扫描 Log 单独统计每个人的增删行数加强版
git log --format='%aN' | sort -u | while read name; do echo -en "$name\t"; git log --author="$name" --pretty=tformat: --numstat | awk '{ add += $1; subs += $2; loc += $1 + $2 } END { printf "added lin...
2019-02-21 09:48:11
508
原创 hadoop-hbase错误,搞了很久终于有结果了
hbase 的 RpcClient$FailedServerException: This server is in the failed servers list: localhost/127.0.0.1:60020, java.net.ConnectException: Connection refused: no further information错误修改方法
2015-01-21 10:45:43
26536
8
java attach 超屌工具
2019-02-21
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人