Hubs-Foundation / hubs

Duck-themed multi-user virtual spaces in WebVR. Built with A-Frame.
https://hubsfoundation.org
Mozilla Public License 2.0
2.13k stars 1.41k forks source link

Automatically delete rooms to save database space #5678

Open NigelRidderhof opened 2 years ago

NigelRidderhof commented 2 years ago

Is your feature request related to a problem? Please describe. As our projects are getting bigger we are getting more "concerned" about not knowing what it could mean to have hundreds, maybe thousands of rooms being created and possibly not being used at all anymore. How much data / database space could this cost? How much does that cost us in pricing?

Describe the solution you'd like A long time ago I asked a question in the Discord regarding automatic deletion of rooms to prevent hundreds of created and now unused rooms to be out there taking up database space or such.

I personally did not see anything about this come by in the previous months, so I was wondering if there has been any changes / progress regarding such a functionality in which rooms would be automatically deleted after f.e. a week of not being used. Garbage collection of some sort.

Maybe some new feature for this public hubs API I've seen posts about for a while?

Describe alternatives you've considered Or maybe some sort of admin panel with all the rooms on the platform, and if you can see when rooms have been used the last time, you can select the old ones and delete them? I'm just spitting thoughts here :).

Additional context If it's the case that rooms barely cost anything, even if you have hundreds or thousands of them, then insights on this / places in AWS to check would be very much appreciated as well!

emclaren commented 2 years ago

Hi Nigel, thanks for flagging this. We are looking into a redesign of the dashboard and this could be an interesting feature to explore.

NigelRidderhof commented 2 years ago

Awesome, good to hear! ( Just to make sure one more time, I am talking about rooms and not scenes :). )