lsk569937453 最近的时间轴更新
lsk569937453

lsk569937453

V2EX 第 201541 号会员,加入于 2016-11-16 08:18:50 +08:00
1.ApiGateway
https://github.com/lsk569937453/silverwind

2.Rcache(Reimplement the redis in rust)
https://github.com/lsk569937453/rcache

3.Rcurl(Reimplement the curl in rust)
https://github.com/lsk569937453/rcurl

4.KT(Impelemet the load testing in rust)
https://github.com/lsk569937453/loadTesting
copy on write 在 rust 里怎么实现?
Rust  •  lsk569937453  •  12 天前  •  最后回复来自 PTLin
3
今天用 rust 实现了 Http 负载测试工具
程序员  •  lsk569937453  •  36 天前  •  最后回复来自 lsk569937453
4
hyper v1+anyhow 可能导致性能急速下降
Rust  •  lsk569937453  •  4 天前  •  最后回复来自 RTSmile
11
[学习]mysql 的同步问题, binlog 相关
程序员  •  lsk569937453  •  127 天前  •  最后回复来自 zhangxudong
6
lsk569937453 最近回复了
@lsk569937453 压测的时候还有一个问题是不可忽视的,就是网络延迟。最好看一下两台机器的网络延迟是多少。高性能的 echo-server 的 TPS 不会很低的。

你在压测的机器前面加了一层 Nginx 的转发,QPS 变低是必然的,Nginx 至少降低 10%的性能。Nginx 的作用是负载均衡。请求在经过 Nginx 的时候,Nginx 需要解析请求的 header 并且中间多了一层网络转发。
1.换压测工具试试,https://github.com/rakyll/hey
2.或者可以换 echo-server,https://github.com/lsk569937453/echo-server 。我的这个 echo-server ,4core 8g 的机器压测结果如下:
hey -n 1000000 -c 1000 http://backend:8080

Summary:
Total: 4.2522 secs
Slowest: 0.2671 secs
Fastest: 0.0000 secs
Average: 0.0041 secs
Requests/sec: 235174.6871

Total data: 1000000 bytes
Size/request: 1 bytes


3.让我猜测的话,我更倾向于压测机器(wrk 执行命令的机器)的性能达到了瓶颈。
idea 默秒全。
7 天前
回复了 aaaaaaaaaasss 创建的主题 职场话题 完蛋了 又降薪了
千万别去,你一定值得更好的。
3D 接雨水。
12 天前
回复了 lsk569937453 创建的主题 Rust copy on write 在 rust 里怎么实现?
@miniliuke 如果用 cow 指针,数据结构怎么设计呢?
17 天前
回复了 Dandelion2333 创建的主题 长沙 大龄长沙女生找对象
@EdmondGUO 40 岁的大妈,这就是找老伴儿啊。
有这么多 Ingress controller 的实现,包括但不限于 envoy,traefik,kong 。你不能因为一个 nginx ingress controller 出问题就否定整个 ingress 啊。
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2494 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 21ms · UTC 14:46 · PVG 22:46 · LAX 07:46 · JFK 10:46
Developed with CodeLauncher
♥ Do have faith in what you're doing.