Detect when rooms get deleted
- Ngôn ngữ chính
- JavaScript
- Star
- 30
- Fork
- 9
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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.
Hướng dẫn đóng góp
Hướng nghiên cứu
Issue không nêu tên tệp, test hay entry point nào; hãy bắt đầu bằng cách xác định đường đi của việc xóa room và mã server/client cung cấp danh sách room. Hoàn thành có nghĩa là client và server có thể biết khi nào room bị xóa mà không phụ thuộc vào các phương án polling định kỳ được đề xuất.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- javascript, mongodb
- Lĩnh vực
- backend, database
- Loại issue
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100