coder / coder/websocket

Configurable buffer sizes

オープン
#422 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Go
スター
5.5k
フォーク
372
PR マージ指標
30日以内にマージされた PR はありません

説明

Which is the suggested way to configure this library for high throughput connection, eg 10Mbit or more?

My understanding from navigating the code is that there is no way to configure the read/write buffer size. Do you think this could be a useful addition to the library?
Also increasing the read buffer size should probably be combined with increasing the client OS socket read buffer to prevent overload, which usually results to automatic closing of the connection.

Any feedback on this would be very useful for my use case. Also I am available to work on an enhancement to this library to support high throughput.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Start by tracing the library's existing read and write buffer handling and how it configures client OS socket buffers. Clarify the proposed configuration API, expected high-throughput behavior, and overload handling before defining tests that demonstrate configurable buffer sizes and successful connections at the target throughput.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
go
領域
networking
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。