P
P
Peter H2016-07-26 21:06:25
JavaScript
Peter H, 2016-07-26 21:06:25

Why does firebase + ionic hang to send coordinates between users?

Problem: if there are more than 40-50 users in the database (firebase), then terrible lags begin. just for any queries to the database. If there are fewer users, then there is no problem.
This is what the user looks like in the database:
65f449b272304a2b819cde1752eccaef.jpg6608745904224971a21da9394d3ad56f.jpg
What happens:
coordinates come to connections, and those users to whom they need to be given are in keys (I go over keys , take the user's key and use this key to access him and put the coordinates in connections)
PS. firebase free version, limited to ~100 simultaneous connections, which is out of the question, because at the same time even 3 people have not yet used

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question