Firebase overloaded

265 views
Skip to first unread message

Rafał Nazarko

unread,
Jan 17, 2018, 10:06:14 AM1/17/18
to MIT App Inventor Forum
Hello,
I was made application which is connected with Firebase realtime database. It's working good but yesterday I'm want to use this app with 3 people in one time. It caused overload on the Firebase as you can see on screen. It is maximum of users at the same time ? I really want to use it with much more peoples. There are not many data. Can you tell me how I must do to increase maximum number of request Firebase system ? If I bought payment version of Firebase it will be better ?
Thanks for any response.
Regards,
Rafał Nazarko
1.png

SteveJG

unread,
Jan 17, 2018, 10:34:12 AM1/17/18
to MIT App Inventor Forum
Have you read  Brief introduction to cloud data and the Firebase component

and this disclaimer 

This MIT account is intended only for personal work and testing. You’ll need to get your own Firebase account in order to make apps for heavy use and for distribution to large numbers of users.

This current release of the FirebaseDB component is experimental, and its properties may change in response to user comments. In particular, this experimental release does not include the ability to use it with your own Firebase account, but only with MIT’s default account. MIT plans to provide a way for people to obtain their own Firebase accounts after we gain more experience using the component. 


Do you have your own Firebase account?   The experimental account MIT provides is data limited and unless you specifically provide code in your app to limit simultaneous changes by users you will certainly have issues.   If you are exceeding the usage of the 'free' amount account Google provides, you may have to purchase  additional capability    https://firebase.google.com/pricing/  from Google. 
As shown in the link,  the free option limits one to a maximum of 100 connections and has other limitations.  Do you have more than 100 users?

Regards,
Steve


Rafał Nazarko

unread,
Jan 17, 2018, 12:36:28 PM1/17/18
to MIT App Inventor Forum
No I have only 3-4 users and I have my own account.

SteveJG

unread,
Jan 17, 2018, 5:56:24 PM1/17/18
to MIT App Inventor Forum
It appears your document writes are at or above 20K a day Rafal, exceeding the Spark level.   I do not read Polish,so I am not sure.


Cloud Firestore

  • Stored data
  • Bandwidth
  • Document writes
  • Document reads
  • Document deletes
  • 1 GB total
  • 10GB/month
  • 20K/day
  • 50K/day
  • 20K/day

..this possibly means you do more document writes than permitted for free.   Having no knowledge of what your app does or how it is used this is possible.

This is a Firebase issue; not an App Inventor issue.

 

Rafał Nazarko

unread,
Jan 18, 2018, 9:22:54 AM1/18/18
to MIT App Inventor Forum
But I'm not using CloudDB only FirebaseDB. You think which code on picture 2.png is better optimalised ?
2.png

Severler

unread,
Jan 25, 2018, 5:50:47 AM1/25/18
to mitappinv...@googlegroups.com
Dont wory  about it.I have same overload.Firebase have problem at these days check

https://status.firebase.google.com/incident/Realtime%20Database/18002

Its bug check this

Reply all
Reply to author
Forward
0 new messages