Open jwamsterdam opened 7 years ago
Seconding this, curious if anyone has any suggestions for speeding things up.
In one of my API calls, I'm doing updates to 10 objects in firebase (not large updates). These calls average about 3000ms, so 300ms per update. This is pretty brutal. I'm hoping I can figure out a solution so that I don't have to explore alternatives.
Third this issue. I am pushing just location data, and am averaging 980ms per call.
I loop through a collection and on every element, I do a push to firebase. I do see that every individual push action to firebase takes approx 700 ms... isn't that really slow? If I use the Javascript SDK from google firebase and loop through a collection, I get an performance of around 20 - 30 per second. (estimated)
It looks like every push action opens a new connection to firebase, although this should not be the case since I took the exact code from your docs.