📑 ドキュメンテーション )
doctors.socketify.dev
/doctors/README.md また、 の例の中でギャップを終わらせる)/例
💡
アスペクト
-
迅速かつ公式の Http/Https
の強化PyPy3
と
CPython
-
SNIごとのHttpRouter強化
- コンピューター化されたピンポン強化
)
- ソケットごとの事実
)
- ミドルウェア
- ソケットごとの事実
WebSocket with pub /サブタフンWindows、Linux、macOS Silicon & x64 向けに強化
ワイルドカードとパラメータを強化した動的 URL ルーティング 同期および非同期機能の強化 間違いなく簡単なAPI 高速で暗号化された TLS 1.3 より高速ほとんどの異なるサーバーが、暗号化されていない平文のメッセージングでさえも持ち上げることができるよりも
Proxy Protocol v2 共有または専用圧縮強化 Max Backpressure、Max Timeout、Max Payload、Lazy Timeout 強化
プラグイン/拡張機能
今後のアスペクト
- libuv を利用した API のような収集
- libuv による非同期ファイル IO
- libuv との Fat asyncio 統合
- SSGIサーバーのスペックと強化
RSGIサーバー強化
Fat Http3 強化
HPy
強化強化への統合CPython
)、
GraalPython- PyPy および
シズリングリロード 私たちは から肉厚な C API を作成し、適応させましたuNetworking/uWebSockets と libuv を利用したランキングとファイル IO を混在させる必要があります。これと同じ C API は古いものです。 by ぶん Githubの半分になる
不和ディスカッション
または
安堵のため、流行りの成長にガッカリ。
⚡
ベンチマーク Socketify WebFramework HTTP 1 秒あたりのリクエスト数 (Linux x64)
WSGI サーバーの 1 秒あたりのリクエスト数 (Linux x64)
1 秒あたりの ASGI サーバー リクエスト数 (Linux x64)
WebSocket メッセージあたり2 番目 (Linux x64)
TFB インストルメント プレーンテキスト ベンチマークでテストされた HTTP でテストされた WebSocket Bun.sh ベンチ チャット ショッパー
(内のオファーコードはTechEmPower および の Websocket 用) ベンチ マシン OS: Debian GNU/Linux bookworm/sid x86_64 カーネル: 6.0.0-2-amd64 CPU: Intel i7-7700HQ (8) @ 3.800GHz メモリー: 32066MiB
📦 セットアップ macOS x64 & Silicon, Linux x6の場合 4、Windows pip setup socketify#またはPyPy3を指定 pypy3 -m pip setup socketify #
または編集可能モード pypy3 -m pip セットアップ -e socketifynecessities.txtの戦略で設定した活用法
pip setup -r ./necessities.txt
#または PyPy3 を指定) pypy3 -m pip セットアップ -r ./necessities.txt Linux や macOS を利用している場合は、libuv と zlib を設定する必要があります。マシンmacOS
brew セットアップ libuv brew セットアップ zlib Linux
合法的なセットアップ libuv1 zlib1g
#または編集可能モード
necessities.txtの戦略で設定した活用法
pip setup -r ./necessities.txt
macOS
brew セットアップ libuv brew セットアップ zlibLinux
合法的なセットアップ libuv1 zlib1g
Probably should add that it's faster with PyPy as it might not be obvious on how an interpreted language like Python can beat an AOT compiled language like Go.
Interesting results nevertheless
Hello, author here. Happy to answer any questions!
My apologies for the downtime, I wasn't expecting much traffic today since I submitted the post to HN yesterday but I've started scaling my server now!I'm almost offended by the TOP Show HN: news TOP HACKER NEWS"cubic light year of ice cream" answer from ChatGPT. It's obviously ridiculous but is also a fairly simply dimensional analysis problem. Do the damn math, don't wag your finger at me and crush my dreams!
I'm pretty bullish on ChatGPT and its ilk, but I _really_ dislike when ChatGPT lectures me because my request is against its "moral values." I recently pasted in the lyrics from Sleep's titanic song "Dopesmoker" HN を指します: Socketify.py: PyPy3 および Python3 用の Http/Https および WebSocket サーバー; and asked it to generate a song with similar lyrics. It informed me that it wasn't comfortable writing a song that glorified substance abuse.
I also just recently watched Deadwood (which is phenomenal, btw) and asked it to generate a monologue in the style of Al Swearengen on the topic of a good night's rest. पैंडोक-अनिवार्य रूप से आधारित लेखन के लिए उपयुक्त प्लॉट बिबडेस्क से ज़ोटेरो तक जाता हैThe first thing return contained not one curse word, so I told ChatGPT that it should include some more instances of "fuckin" to better match Swearengen's filthy-mouthed yet lyrical style of speech. It refused to use that level of profanity.
I asked it if it would generate a slightly more profane example at whatever level it was OK with, and it did add some cursing, but not nearly matching Swearengen's potty mouth. (The monologue also kinda sucked, but that one I'll give it a pass on, since Milch's writing was pretty incredible.)TESLA MOTORS KVANTA TV