Hi Amit,
Generally, when you see your DB begin to slow down under load, this indicates that you have some inefficient queries, and it’s leading to excessive bandwidth consumption. For example, if your users all listen on a given path where the average payload is 100k per record, when you get to around half a million records in that path, that means each user is downloading around 50GB of data.
You can use the profiler to check out the bottlenecks in your app and to determine if you need to improve your bandwidth efficiency. Additionally, you can add debug logging to see socket traffic from the client:
JS: firebase.database.enableLogging(true);
iOS: [FIRDatabase setLoggingEnabled:YES];
Android: FirebaseDatabase.getInstance().setLogLevel(Logger.Level.DEBUG);
Beyond that, we’ll probably need to hear some specifics of exactly what’s going on before we can be too helpful.
☼, Kato
--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/69b03482-5ec4-476e-b867-02c1e8829ce2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.