plinck / TeamATC

Team ATC Challenge Tracking Workouts
MIT License
2 stars 0 forks source link

Add performance monitoring to help compare cloud functions to clients with caching #213

Open plinck opened 4 years ago

plinck commented 4 years ago

Is your feature request related to a problem? Please describe.

Describe the solution you'd like Look at https://firebase.google.com/docs/perf-mon. for more info. Eventually we will need to do this to monitor, track and improve performace of the app.

Describe alternatives you've considered

Additional context

plinck commented 4 years ago

This is also a good resource: https://medium.com/firebase-developers/should-i-query-my-firebase-database-directly-or-use-cloud-functions-fbb3cd14118c

plinck commented 4 years ago

Its certainly worth noting that client cloud firestore does caching of the data and the server does NOT. So for most cases - certainly less complex ones - will use far less data since the fireebse client SDK caching reads and writes so you dont incur additional reads nor costs.