jianhaochende's recent timeline updates
jianhaochende

jianhaochende

V2EX member #325642, joined on 2018-06-29 14:39:45 +08:00
Per jianhaochende's settings, the topics list is hidden
Deals info, including closed deals, is not hidden
jianhaochende's recent replies
我这会封 L2TP 端口,坑的是 L2TP 很难改端口,换 ovpn 了,整了个 tcp 协议的高位端口正常了
Jan 26, 2024
Replied to a topic by dude4 宽带症候群 重庆联通-一觉醒来 V4 公网没了
联通也开始了吗?我是电信换的联通,cq 电信说公网要加钱,威胁换都还是不肯,于是真的换了联通,事先书面写了协议有公网 ip ,就一直有了公网,直到现在还好
差点忘了 java 的

- [silk4j]( https://github.com/mzdluo123/silk4j) (jni)
原来原作者在这,十分感谢大佬的付出,现在,基于已经有很多这个 C 库的封装了,比如

Python 封装
- [graiax-silkcoder]( https://pypi.org/project/graiax-silkcoder/) ( Python-C-api )
- [pysilk-mod]( https://pypi.org/project/pysilk-mod/) ( pybind11 )
- [silk-python]( https://github.com/synodriver/pysilk) ( cython & cffi, stream )
- [rsilk]( https://github.com/synodriver/rsilk) ( pyo3 )
- [pilk]( https://github.com/foyoux/pilk) ( Python-C-api )

Rust 封装

- [silk-rs]( https://github.com/lz1998/silk-rs) (C-Bindgen)

Go 封装

- [go-silk]( https://github.com/wdvxdr1123/go-silk) (ccgo)

Node 封装

- [node-silk]( https://github.com/NekoRushX/node-silk)

C# 封装

- [Konata.Codec]( https://github.com/KonataDev/Konata.Codec)

所以就随便用吧
感谢,目前已经在 hypercorn 中实现了。

说来当初弄这个原因就是想搞个完美的 ASGI 服务器,也是看着一堆拉胯的 ASGI 服务器为 python 着急,ASGI 框架的性能比的就是 ASGI 服务器的性能,然而官方的实现并不怎么出色。Daphne,自称是 ASGI 的参考实现,快 3 年了,lifespan 连影子都没有,但依赖一大堆,又慢又重。uvicorn 对 http/2 不感兴趣也是他们作者说的,看起来还算有希望的就剩 hypercorn 和 nginx unit 了。hypercorn 功能最多,基本上完整实现了 ASGI 规范的全部东西,简直是 ASGI 的希望,unit 是 nginx 推动的,纯 C 实现,速度比 uvicorn 还快,也是未来的希望之一。真心希望这几个服务器能发展起来,也算是对异步生态的贡献了。
@abersheeran 请问使用 h11 的不能实现是和 h11 自身的状态机有关吗?
感谢回复。我给 hypercorn 用上后,显示是已经发送成功了,但是浏览器并没有收到,发送文件过大时甚至出现 lockingIOError: [Errno 11] Resource temporarily unavailable,很迷惑。hypercorn 只有 h11 h2 h3 的解析器,没有 httptools 的
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   952 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 12ms · UTC 19:17 · PVG 03:17 · LAX 12:17 · JFK 15:17
♥ Do have faith in what you're doing.