Detect when rooms get deleted
オープン
enhancement
- 主要言語
- JavaScript
- スター
- 30
- フォーク
- 9
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Right now, rooms get deleted through mongodb. This separation prevents the server or client from knowing if a room got deleted.
What we could do is let the client just update rooms every 5 minutes, not a fun solution.
We could also have the server watch every minute if a room got deleted. This would require it store in memory the list of room IDs and periodically check if a room got deleted.
We could instead just have the server send everyone the updated list of rooms every 2-5 minutes.
コントリビューションガイド
調査の方向性
この issue ではファイル、テスト、エントリーポイントが指定されていません。まず、ルーム削除の経路と、ルーム一覧を提供するサーバー/クライアントコードを見つけてください。クライアントとサーバーが、提案されている定期的な polling の代替手段に頼らずに、ルームが削除されたタイミングを把握できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, mongodb
- 領域
- backend, database
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100