I'm evaluating Firebase for building a chat app. And it's plan makes me concern: 10,000 concurrent connections/$1,499/month.
It seems to me that the chat app will have an always-on connection to Firebase, to receive incoming messages instantly. It means that if my app get 10,000 active installs on Android, then no matter whether they're opening the app or not, I will have to pay $1,499/a month.
Anyone know a solution for reducing concurrent connections to Firebase without impacting the perceived quality of the chat app?
Thanks.
--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
public class FirebaseBackgroundService extends Service {private ValueEventListener handler;@Override public IBinder onBind(Intent arg0) { return null; }@Overridepublic void onCreate() {super.onCreate();handler = new ValueEventListener() {@Overridepublic void onDataChange(DataSnapshot arg0) {// notify data change}@Override public void onCancelled() { }};f.addValueEventListener(handler);}}
Got it. Thanks Ossama
You received this message because you are subscribed to a topic in the Google Groups "Firebase Google Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/firebase-talk/lUAQeLjtpIU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to firebase-tal...@googlegroups.com.