Thanks Tom, Frank for the response.
Our backend is in python and we have considered using firebase for some usecase that requires realtime communication from client to server. Since firebase doesn't yet
have client libraries for python so we had used REST API for the same. But since a single client generates a stream of fast requests to firebase its making things slow for us.
Even if we use async requests still the HTTP overheads are causing huge bandwidth usage at our end.
We are using Angular fire and android client libraries for a different usecase of realtime so was curious to know where all things can get slow. In my opinion following scenarios
can make things slow for us:
1) Internet being slow or jerky. - Technology cannot handle it.
2) Firebase servers sit in US so the whole bandwidth will matter. - Not in our control, we are in India.
3) Complex client side queries in fetching some of the data items. - Can be handled by limiting them and working on local cached data.
4) Initial syncup of bulk data from firebase as our backend pushes data in bulk once a day into firebase. - Can be possibly handled by syncing all data for a day before the user logs in. Not sure if there is a better way to do this.
5) If there is a bulk update (set of lets say 100 json objects) required from client to server. - Not sure how to handle it
Thanks
Aditya