$V2EX
Solana
Give SOL to Copy Address
使用 SOL 向 lesismal 打赏,数额会 100% 进入 lesismal 的钱包。
lesismal's repos on GitHub
Go · 2755 watchers
nbio
Pure Go 1000k+ connections solution, support tls/http1.x/websocket and basically compatible with net/http, with high-performance and low memory cost, non-blocking, event-driven, easy-to-use.
Go · 1091 watchers
arpc
More effective network communication, two-way calling, notify and broadcast supported.
Go · 153 watchers
go-websocket-benchmark
Go · 57 watchers
nbio-examples
Go · 49 watchers
fib
Go · 46 watchers
sqlw
The best go rawsql lib.
Go · 13 watchers
llib
JavaScript · 12 watchers
pmjs
Help To Build Single-Page App And Make Native Fastest!
Go · 10 watchers
fit
Go · 7 watchers
go-net-benchmark
Go · 6 watchers
pipe
Go · 5 watchers
cbuffer
Go · 4 watchers
arpcex
Go · 3 watchers
go-http-server-benchmark
Go · 2 watchers
noleak
Go · 1 watchers
batchflight
1 watchers
Developer-Books
编程开发相关书籍整理分享,持续更新...
Go · 1 watchers
fibhub
Go · 1 watchers
perf
Go · 1 watchers
serial
Go · 1 watchers
sqlw_examples
Rust · 0 watchers
akio
Rust · 0 watchers
akit
Go · 0 watchers
awesome-go
A curated list of awesome Go frameworks, libraries and software
TypeScript · 0 watchers
dsh-univer-office
Give DeepSeek Harness a real office environment. Univer Office Plugin brings spreadsheets, docs, slides, canvases, relational tables, and more into one runtime — with connected data, validation, versioned changes, and isolated worktrees for multi-agent collaboration.
0 watchers
emoji-cheat-sheet
A markdown version emoji cheat sheet
0 watchers
engineering-blogs
A curated list of engineering blogs
Go · 0 watchers
fib-examples
Go · 0 watchers
fit-examples
TypeScript · 0 watchers
fit-video
Go · 0 watchers
gin
Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin.
Go · 0 watchers
go
The Go programming language
Go · 0 watchers
go-http1-benchmark
Go · 0 watchers
go-http2-benchmark
Rust · 0 watchers
go-http3-benchmark
Go · 0 watchers
go-rpc-benchmark
Go · 0 watchers
go-tls-benchmark
0 watchers
http-parser
http request/response parser for c
0 watchers
HttpArena
The most complete HTTP open source benchmarking platform. Don't just say you're fast, prove it.
0 watchers
lesismal
HTML · 0 watchers
lesismal.github.io
Go · 0 watchers
melody
:notes: Minimalist websocket framework for Go
0 watchers
NestingDoll
0 watchers
webgpsdemo
Demo WebGPS
0 watchers
wireguard-go
Mirror only. Official repository is at https://git.zx2c4.com/wireguard-go
lesismal

lesismal

V2EX member #497905, joined on 2020-07-06 13:49:58 +08:00
Today's activity rank 4408
lesismal's recent replies

建议加入信创

9h 57m ago
Replied to a topic by FaustinaD › OpenAI › 好消息:重置了

以后都不会再信 codex 了

1 day ago
Replied to a topic by oneyenp › 程序员 › 多个 AGENT 项目怎么跟踪管理

@lesismal #7

根据每个项目细化。

也可以做成 skill/harness/command,还可以全局安装给所有/制定的 AI Agent。

而且,这种问题,本身就可以问 AI、让它做成工具,要有递归思维,没必要问人类了。

1 day ago
Replied to a topic by oneyenp › 程序员 › 多个 AGENT 项目怎么跟踪管理

让 AI 先写 roadmap、dev-plan 之类的规划文档和进度文档,做过的都更新到进度里。
类似这种:
https://github.com/lesismal/fit/blob/main/docs/roadmap.zh-CN.md
https://github.com/lesismal/fit/blob/main/docs/dev-plan.zh-CN.md

claude.md/agent.md 要求它按照这些规划和进度进行
https://github.com/lesismal/fit/blob/main/CLAUDE.md

然后每次继续,它就自己去翻文档继续了。

@FabricPath @xinyu391 #71

而且 nginx 自己有 fd 在多 worker 分配不均的问题

更正:这个描述不准确,即使 fd 均匀也可能 worker 不均,跟 fd 数量不是绝对关系,准确说,是每个 worker 上的承载的数据、请求负载不均

@xinyu391 而且 nginx 自己有 fd 在多 worker 分配不均的问题,cloudflare、业界很多人都清楚,cf 自己发过文并且为了解决这个、后来 rust tokio 搞 pingora 才解决:
https://blog.cloudflare.com/the-sad-state-of-linux-socket-balancing/

实际上 cloudflare 更接近他要求用来测试的生产环境工况,但是这种场景下,nginx 的不稳定、带来的实际性能下降可能真的不如 fit,但是 fit 毕竟是 golang 的、性能还是太渣了,我非常不满意、已经在搞 rust 版本的,但是功能太多,网络库基础部分差不多了,持续优化,对标 fit 的功能需要烧 token 实现和测试很多时间。
网络库: https://github.com/lesismal/akio
nginx 竞品: https://github.com/lesismal/akit

@FabricPath 还是 at 你一下吧,worker 上负载不均、nginx 的老架构可能一核有难八核围观,并且不改架构的话没法解决,还有前面给你总结的 HTTP/2 的问题,这都是有很大提升空间的。极致优化的 go 肯定不如极致优化的 c 性能好,但是可惜 nginx 不是所有场景极致优化的,所以你观点的基础都没搞正确。这种老问题,我担心你真的是只会用、不知道。讨论技术如果心平气和,多涨涨知识不挺好吗,没人是神,谁都有盲区,不要觉得自己什么都是对的。我跟你吵都没有否定你全部,该给你肯定的都给你肯定,你就不能谦虚点吗。
另外,虽然 at 你了,但是我仍然是 block 你的,所以看不到你回复。如果你开始讲道理了,可以让别人通知我一下、或者可以到 gihtub 留言给我,我再 unblock。

@livid 投诉 @FabricPath 人身攻击,多个楼层说我作弊跑分,用他自己认为合理但实际不合理的方式指责、扣帽子、人身攻击。

可以把我一块禁言,但是他这种自己都搞不清楚状况并且使用错误评价逻辑横加指责和人身攻击的,请处理下。

fit 的代码,以及他的一些评价逻辑,在这里有分析,如果觉得我自己提供的不准确,各位自己用 AI 或者读代码分析都可以,看看我是不是有作弊跑分,看看他自己的方案是否适合用来指责别人作弊跑分:
https://gist.github.com/lesismal/8affdd45866b263959a7a27d530f2777
为什么 nginx、fit 这些测试不应该关睿频、特调:
https://gist.github.com/lesismal/8affdd45866b263959a7a27d530f2777?permalink_comment_id=6486876#gistcomment-6486876

另外,我反驳关睿频的观点,并不是说我不能关睿频测试。
而是因为咬人的人说我不关睿频不专业,但不关睿频正是为了场景测试更贴近真实需要,用来反驳咬人的人的不合理指责。
基本的逻辑都不过关,有什么资格在这扣帽子、人身攻击,纯咬人是吗?
@xinyu391 所以我把他 block 了,现在不用跟他吵、我自己清净了。

他这个视角,比如关睿频,为什么 L7 这些不应该关闭,什么场景适合关:
https://gist.github.com/lesismal/8affdd45866b263959a7a27d530f2777?permalink_comment_id=6486876#gistcomment-6486876

他这种完全不讲道理、用他自己喜欢的但是对别人来讲是错误的和方法来测试,然后扣帽子说别人作弊,这些也都有分析放到这里了,没有专用优化、都是通用代码,没有为了跑分去作弊:
https://gist.github.com/lesismal/8affdd45866b263959a7a27d530f2777

包括,他自己测试出来的项,有 fit 赢的,他就说作弊、不承认。
另外,他在自己设备给 nginx 开 NUMA 这种,虽然合理,但是对于绝大多数用户,云上主机或者 k8s、docker 之类的虚拟化节点,NUMA 很难用得上,单路的 NUMA 优化基本也没啥效果,上面 gist 里也有相关内容

所以就是啥?上来就自以为自己很专业很牛逼,就要指指点点说别人这个没意义不要搞了,自己都不做实际研究、全靠猜,前面几层我都没吵,然后还继续靠猜就否定一切,所以我明确指出来不要靠猜,然后呢,更来劲了,自己终于去测试了,但是就是你赢的不算、他赢的追着咬,并且还要拿 Intel 测 DPDK 关睿频这种非 L7 非 fit 场景的东西来强调他自己是对的,别人整个 L7 benchmark 圈子里我能搜到的仓库也好、熟人朋友也好都在为贴近生产而不关睿频不额外调整中断设置不开 NUMA 这些特调,只有他。

他自己非要教人做人,而且扣帽子说别人作弊,人身攻击了属于是。
但实际上,他连 HTTP/2 nginx 没有优化所以性能并不是够强都不懂,解释了他也不听,就是只知道用他自己上面那些错误方式追着咬。

如果完全不吵,不把这些解释清楚,别人看了就真以为像他说的一样我是在作弊跑分。

为了避免浪费精力,block 是最好的解决方案,只是我 block 的有点晚。
@FabricPath 有影响的问题你都避而不敢答、畏畏缩缩,一堆不透明和不讲辩证逻辑的无脑喷子话,已经 block 你了
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2068 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 23ms · UTC 14:58 · PVG 22:58 · LAX 06:58 · JFK 09:58
♥ Do have faith in what you're doing.