上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 107 下一页
摘要: 转自:https://blog.csdn.net/xc_zhou/article/details/80950753 1、介绍 对端关闭连接通常会出现 "connection reset by peer" 的错误日志,导致发包失败,接口超时。是因为对端异常关闭socket连接,并且发送了RST报文异常 阅读全文
posted @ 2023-07-16 15:56 lypbendlf 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 转自:https://blog.csdn.net/hsd2012/article/details/51384907, https://blog.csdn.net/Great_Smile/article/details/50114133 1、命令 查看某个端口是否被占用: sudo lsof -i:端 阅读全文
posted @ 2023-07-11 21:37 lypbendlf 阅读(25) 评论(0) 推荐(0) 编辑
摘要: 转自:https://developer.aliyun.com/article/231738,https://cloud.tencent.com/developer/article/1404089 1、介绍 先给出某一台主机上评估tcp重传的指标,TCP重传率定义: TCP重传率 = TCP重传的报 阅读全文
posted @ 2023-07-09 21:58 lypbendlf 阅读(1083) 评论(0) 推荐(0) 编辑
摘要: 转自:https://brpc.apache.org/docs/builtin-services/cpu_profiler/ 1、介绍 左上角是总体信息,包括时间,程序名,总采样数等等。 函数调用方框内容: 从上到下:函数名(namepace/类名/方法名)、这个函数本身(除去所有子函数)占的采样数 阅读全文
posted @ 2023-06-30 12:20 lypbendlf 阅读(28) 评论(0) 推荐(0) 编辑
摘要: 1、命令 tar -zcvf 压缩文件名.tar.gz 被压缩文件名 tar -zxvf 压缩文件名.tar.gz 阅读全文
posted @ 2023-06-29 12:45 lypbendlf 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 转自:https://juejin.cn/s/tcp重传率高原因 阅读全文
posted @ 2023-06-27 12:22 lypbendlf 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 1、例子 如果单例对象是类的static成员,那么在程序结束时不会调用类的析构函数,如下: #include <iostream> using namespace std; class A{ private: static A* m_ins;//声明,静态指针成员 A(){} public: sta 阅读全文
posted @ 2023-06-14 09:56 lypbendlf 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 转自:https://www.ruanyifeng.com/blog/2018/02/docker-tutorial.html 1、概念 Docker 把应用程序及其依赖,打包在 image 文件里面。只有通过这个文件,才能生成 Docker 容器。 image 文件可以看作是容器的模板。Docke 阅读全文
posted @ 2023-05-20 16:47 lypbendlf 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 转自:https://www.cnblogs.com/ncuneugcj/p/9756324.html,很详细 https://www.jianshu.com/p/c2c71d5a09e9,有例子 1.介绍 set(<variable> <value>... [PARENT_SCOPE]) #设置普 阅读全文
posted @ 2023-05-14 17:08 lypbendlf 阅读(665) 评论(0) 推荐(0) 编辑
摘要: 转自:https://stackoverflow.com/questions/3024197/what-does-int-argc-char-argv-mean 1.介绍 argc:c是指count,传参个数,至少为1,表示执行的文件名; argv:v指vector,即传参向量。 #include 阅读全文
posted @ 2023-04-24 09:13 lypbendlf 阅读(108) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 107 下一页