Search code examples
firebasefirebase-realtime-databasereal-time

Is the Firebase Realtime limit on Write rate per second


The Firebase documentation on Realtime Database limits contains this limit for writes:

Write rate: 1,000 writes/second

If I exceed the limit of 1,000 write operations per second for a single database instance in Firebase Realtime Database, will it throw an exception or will the requests be queued?


Solution

  • When you reach 1,000 writes/second, the Firebase servers will throw a DatabaseException that will contain a message that indicates that you exceeded the limit of 1,000 writes/second. To solve this, you can evaluate the message in the catch clause and then create another Realtime Database instance.