Client-side pings needed for the game API
- 主要言語
- Haskell
- スター
- 1.3k
- フォーク
- 201
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Currently, a client that doesn't send any events will cause other clients to fall arbitrarily far behind in their committed game state. This is because these other clients have no way of knowing whether this client just has no events to deliver, or whether it has delivered events that have stalled in the network.
To fix this, we want clients to send occasional pings when they haven't delivered an event for a second or two. The handling code for this exists; all that's needed is to modify the driver to actually send the pings.
コントリビューションガイド
調査の方向性
ゲーム API ドライバーから始めて、既存の ping 処理コードを追跡します。イベントを配信しない状態が 1 秒または 2 秒続いた後にクライアントが時折 ping を送信するようドライバーを更新し、その後、関連するゲーム API のテストを実行して、アイドル状態のクライアントによって他のクライアントが遅れずに済むことを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- haskell
- 領域
- networking
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100