scenevr / server

:heart_eyes: Create multiuser 3d environments using html-like tags and javascript
http://www.scenevr.com/
BSD 3-Clause "New" or "Revised" License
144 stars 19 forks source link

Load scenes on demand #23

Closed bnolan closed 9 years ago

bnolan commented 9 years ago

No need to parse all the scenes in development mode if you're only working on one, so just load scenes when they are accessed. Also, the scene loading is pretty fast at the moment, and we should aim to keep things that way.

Make sure scenes are reloaded correctly even if they don't parse when first tried to load.

Maybe make it so that you can add a scene without restarting the scene server.

Need to keep in mind how this would interact with the scene load balancer.

bnolan commented 9 years ago

As a part of this, kill off scenes that haven't had any users in them after SOME_TIMEOUT.