by 10098 · 11y ago · 0 comments
The real solution would probably be finding an effective way of dealing with memory on the client side. I don't know what the state of the art in javascript land is but big environments like this are better streamed from disk into memory portion by portion rather than putting it there all at once (i'm pretty sure there is no standard api that lets you do something like this).
You keep track of all the points the player is currently looking at, and sort them. Then when the world state is updated, the server check all clients whether to send the new update or not.