FireSharp icon indicating copy to clipboard operation
FireSharp copied to clipboard

Slow push of items - performance

Open jwamsterdam opened this issue 8 years ago • 2 comments

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.

jwamsterdam avatar Jul 05 '17 13:07 jwamsterdam

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.

adam3039 avatar Jun 10 '18 03:06 adam3039

Third this issue. I am pushing just location data, and am averaging 980ms per call.

ghost avatar May 14 '19 10:05 ghost