Firebase CRUD action limits for production app
I was just reading the Firebase Pricing page and couldn't find information about what the physical limits for interacting with firebase is.
For example...
How many simultaneous "GET (or SET...etc) Request" can I make to my database before I need to change plan or get an error?
// Code example:
// What happens if 1 million user call this at the same time
this.af.database.object('/items')
How many request per second (or minute or hour) can I make before something unexpected happens or I need to upgrade my plan?
// Code example:
// What happens in the following bad code
for (var i = 0; i < 10000000; i++) {
firebase.database().ref().update(updates)...
}
The question came up to me because I was implementing some search method. I could do it two ways
- Download the required branch and filter it at client side
- Query a firebase path at each key stroke (more request which leads to more cost???)