hutoer 最近的时间轴更新
hutoer

hutoer

V2EX 第 549966 号会员,加入于 2021-07-03 09:44:04 +08:00
今日活跃度排名 2324
Linux 服务器开启 firewalld 后,无法访问公网网站
Linux  •  hutoer  •  240 天前  •  最后回复来自 hutoer
13
阿里云盘客户端让我震惊了
 •  hutoer  •  2023-03-11 16:50:24 PM  •  最后回复来自 hutoer
1
.net core 有类似 moleculer 这样的微服务框架吗?
C#  •  hutoer  •  2022-01-08 00:44:04 AM  •  最后回复来自 kowgarnett
8
hutoer 最近回复了
8 小时 52 分钟前
回复了 tomsun28 创建的主题 程序员 我全职开发的开源项目进入了 Apache 孵化器
厉害,赞!
oracle helidon
9 天前
回复了 abersheeran 创建的主题 Python 一个纯 Python WSGI 服务器
@abersheeran 启用的。

python -m zibai example:app --max-workers=1000 --no-access-log
2024-04-10 14:35:44,944 INFO Listening on 127.0.0.1:8000
2024-04-10 14:35:45,037 INFO Using gevent for worker pool
2024-04-10 14:35:45,038 INFO Run in single process mode [268033]
9 天前
回复了 abersheeran 创建的主题 Python 一个纯 Python WSGI 服务器
测试了下,性能不行呀

测试环境

OS: Manjaro Linux 23.1.4
kernel: Linux 6.6.25-1-MANJARO x86_64
CPU: i5-7500
MEM: 64 GB

example.py 是 github 中的例子
zibai v0.10.2


$ python -m zibai example:app --max-workers=1000 --no-access-log

$ wrk -t 8 -c 40 -d 10 http://127.0.0.1:8000
Running 10s test @ http://127.0.0.1:8000
8 threads and 40 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 43.96ms 1.94ms 60.47ms 82.18%
Req/Sec 113.99 12.51 151.00 48.62%
9087 requests in 10.02s, 0.92MB read
Requests/sec: 907.12
Transfer/sec: 94.25KB


$ waitress-serve --port=8000 --threads=1000 example:app

$ wrk -t 8 -c 40 -d 10 http://127.0.0.1:8000
Running 10s test @ http://127.0.0.1:8000
8 threads and 40 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 4.39ms 5.26ms 155.57ms 98.47%
Req/Sec 1.25k 282.07 4.03k 81.15%
99653 requests in 10.10s, 13.97MB read
Requests/sec: 9867.04
Transfer/sec: 1.38MB


$ gunicorn example:app -k gevent --threads=1000

$ wrk -t 8 -c 40 -d 10 http://127.0.0.1:8000
Running 10s test @ http://127.0.0.1:8000
8 threads and 40 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 9.01ms 12.99ms 146.36ms 89.27%
Req/Sec 1.08k 542.24 3.90k 74.09%
86008 requests in 10.01s, 14.03MB read
Requests/sec: 8589.42
Transfer/sec: 1.40MB
拼多多你要当二手市场来看待,这样心理就平衡了
3 年前我买了精装的房子(期房),收房后发现装修很垃圾:墙面漆大片大片的瘢痕,厕所电器有坏的。4 个空调,结果发现居然是家庭中央空调,很耗电,一查型号,是 7 、8 年前的淘汰产品,用了几天就出现故障了,物业派人修理了 5 次。热水器 2 个也是淘汰产品。才半年,好几个门边框脱落了,大门把手开始掉漆了 ..... 。收房时要先签收房(验房)合同,才能拿钥匙,之后就不管了。100 多户组织起来要维权,然后 ...... 结局大家懂得。
无欲则刚
217 天前
回复了 guaiZhang 创建的主题 程序员 如何搭建镜像或软件包的发布站点
@guaiZhang Sonatype Nexus 支持很多格式的,你看看它的 Git LFS 、Raw 是否满足你的需求
https://help.sonatype.com/repomanager3/nexus-repository-administration/formats
217 天前
回复了 guaiZhang 创建的主题 程序员 如何搭建镜像或软件包的发布站点
Sonatype Nexus
223 天前
回复了 wesleyqiu 创建的主题 Python 孩子学编程是不是首选 C++
@xgdgsc 没错,尤其是数学,决定了能力的天花板
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5205 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 14ms · UTC 09:25 · PVG 17:25 · LAX 02:25 · JFK 05:25
Developed with CodeLauncher
♥ Do have faith in what you're doing.