coder13 / coder13/LetsCube

Detect when rooms get deleted

オープン
#45 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
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

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

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