-
-
在测试最新版本examples中的c10m案例客户端连接后没有向服务器附送数据
-
## Toolchain
such as:
- http://www3.ntu.edu.sg/home/ehchua/programming/cpp/gcc_make.html
- http://www.csee.umbc.edu/courses/undergraduate/202/fall04/Projects/CommonErrors.shtml
- https://www.gnu.org/…
-
Hello.
I am considering to use H2O or nginx as a reverse proxy for a map tile server. Basically, each tile is a png image of 256x256, which represent a small part of the map. There might be millions …
-
请问实现单台服务器 1000 万连接的原理是什么呢?
* 假设每个连接需要协议栈的内存为4kb,那么 1000 万连接光协议栈就需要38GB的内存
* 处理 1000万连接的计算量,仅靠 epoll 的能力无认为无法胜任
我看了其他关于 C10M 问题的实现:几乎都是 DPDK+用户态协议栈+多队列网卡等一系列技术的组合才能做到这一点。
谢谢
What is the prin…
-
The package documentation claims that `send` and `receive` operations on the same socket are not thread safe:
> The proper programming model is that one Socket is handled by a single thread. If mul…
-
# TPS 哪些事儿
## TPS 具体是指什么?
TPS 的英文全称是 Transactions Per Second,即每秒事务数。例如,每秒钟签名数量,每秒钟加密数量,每秒钟生成订单的数量等。有时候,我们见到类似的 HPS (每秒点击数),QPS(每秒查询数),RPS(每秒请求数)等,我们可以理解成是 TPS 的事务映射成点击、查询、请求的更加具体的解释上,为了方便起见,以下我们…
-
相对于CPU,内存,在实际开发中碰到的最多的应该还是和网络相关的问题,经常听到的一句话是哪里哪里访问又出问题啦,如果是非 http 的协议的话处理起来跟棘手了(http有完善的生态系统)。
- 大概第一件事情就是 dig 一下
- 然后 ping 一下
- 如果是tcp的话可以 telnet 上去看下端口访问是否ok
- 再进一步的话就是抓包分析了
接下来的两周也会是按照这个展开,再…
-
Use GRPC instead of SSH for reverse tunnels and `tsh`.
This will allow to reduce amounts of ports to just one. SNI and client certificates can be used for switching. SSH port can be used for SSH p…
-
### Describe the bug
my host unexpectedly shuts down. Afterward, I am unable to write any data to the original table, even though the program and syntax remain unchanged. The same 'INSERT' syntax w…