-1

I am new to firebase and I have a couple of questions.. I found some information in old posts but unfortunately are too old to consider them as valid (dated back to 2013).

Number of requests per client:

I am not even sure what I am asking.. I read somewhere that Firebase allows 10 requests per second per client. I cannot find this information anymore and in the firebase website is not mentioned in any way.. Is there such a thing as "requests limit"?

If we assume that this limitation exists and the number of allowed requests is 10.. then what is considered as a request?

Is it a request only when I connect to the database for the first time I open my application? Is it every single select query I perform? Does having listeners spend requests?

I found myself a case where I need to run a query which in SQL would be like: Select * from table where id IN (id1,id2,id7, id200, id143 )

Can I do that in Firebase?

Or I have to do 5 different select queries? If the latter is the case, then are they considered as 5 different requests?

One good example describing this problem was mentioned in an other stackoverflow post where the application fetches the facebook list of the user and needs to check which of these friends are already members to the firebase application based on the facebook ids(old question of 2013.. suggested links pointed to the old firebase site which does not work anymore..).

How a problem like that should be approached?

Thank you very much in advance.

user2399432
  • 738
  • 1
  • 9
  • 17
  • 1
    let me know if you still have any questions or concerns. – adolfosrs Aug 20 '16 at 20:34
  • Partially is.. but no requeat limitation is mentioned there.. – user2399432 Aug 20 '16 at 20:42
  • "I read somewhere that Firebase allows 10 requests per second per client" where did you read that? I'm not aware of any such rate limit. Firebase consists of 15 products now, so I might have missed this specific one. Which is why knowing the source of that tidbit would be very welcome. This applies to all places where you cite information from other locations. Taking information out of context reduces its usefulness immensely and limits our ability to help you. – Frank van Puffelen Aug 20 '16 at 21:09

1 Answers1

1

No, firebase does not have a request limit and neither a IN or OR SQL-like operator. And thats the reason why you don't have to be concerned on doing one request for each value you are querying.

Make sure you are triggering this queries asynchronously in your application and you will be fine. Firebase was built to handle as much simultaneous request as needed.

You can find firebase free-plan limitations in the pricing session.

adolfosrs
  • 9,286
  • 5
  • 39
  • 67