database - Which DB for storing geolocation (coordinates) for many users and checking if they are close to each other in real time? -
ios app send time time coordinates server through rest api. on server inside db registered users stored coordinates. each user may have many friends want track if close him. server after each coordinate update (from user) has check if friends close him (with radius stored in db per user). has handle many users.
so many writes db time , after each write there computation of friends nearby.
as server technology use node.js, wondering (or type od db) use? there databases geolocation calculations or specialy "tweaked" such computation?
what recommend?
mongodb has geospatial indexes , pretty common in node.js world. has few query types useful when working geo data.
Comments
Post a Comment