ScriptaGames / zorbio

A 3D multiplayer WebGL game
MIT License
8 stars 1 forks source link

Simple way to view the api data #384

Closed Jared-Sprague closed 7 years ago

Jared-Sprague commented 7 years ago

because we can't target which node to hit via the nodebalancer, it's practically impossible to get to the api data anymore, unless you are only running 1 node. When we have more nodes, the only way to be able to view data per node, is by dumping the data to a central store then querying that. I'll look at simple options for 1.0. It's going to be really important to gather this data when we launch, so we know peoples fps, ping, etc etc

Jared-Sprague commented 7 years ago

Ok after researching various back end storage methods, e.g. redis, mongodb, etc, I've decided that hosting our own is way to much work for now. So then I remembered App42 that we were going to use for our leaderboard, and it has a json document store and api. It's so easy to use and works great! I think this is going to perfect and save so much work setting up our own backend data storage:

screenshot from 2016-10-09 22-55-52

Jared-Sprague commented 7 years ago

All done! This is working in prod!