Hey George, Thanks for clarifying that. Any future users reading this thread will surely find your responses to be clear and hopefully of use in their own case. Yes, it's indeed the case (see the docs article "Using Firebase and App Engine Standard Environment in an Android App - Configuring the App Engine backend to use manual scaling" <https://cloud.google.com/solutions/mobile/firebase-app-engine-android-studio#configuring_the_app_engine_backend_to_use_manual_scaling>) that you need to run manual scaling on the service in your app that handles connections to Firebase.
Cheers, Nick Cloud Platform Community Support On Monday, February 20, 2017 at 4:33:19 PM UTC-5, George Sxi wrote: > > Hi Nick , > > Sorry for the delayed reply...been diving in the depths of app engine for > a while...heh.. > > Well in my case I had to include the following lines in my > appengine-web.xml in the android studio : > > <manual-scaling> > <instances>1</instances> > </manual-scaling> > > > my understanding is (and please correct me if I am wrong) that in order to > use Firebase with App Engine standard environment, manual instance scaling > must be used because Firebase needs long lived background threads to listen > and such threads are allowed only on manually scaled instances.. > After including this I finally got results to my tests directly from > Firebase Database. > Let me know if my understanding is correct.. > > Thanks, > George > > > > On Monday, February 13, 2017 at 10:33:44 PM UTC+2, Nick (Cloud Platform > Support) wrote: >> >> Hey George, >> >> That's great to hear. Keep in mind that we also monitor our tags on Stack >> Overflow, so I'll be there as well if you ask a question, haha. Glad to >> have been of assistance. >> >> One last question I have, though, is what you meant about manual scaling. >> Could you share some more information about that? How was manual scaling >> involved in this issue's appearance / solution? >> >> Cheers, >> >> Nick >> Cloud Platform Community Support >> >> On Saturday, February 11, 2017 at 4:14:37 AM UTC-5, George Sxi wrote: >>> >>> Many thanks for your insight Nick, in my case, apart from the issue you >>> described I have also forgotten to include "manual scaling" in the relevant >>> .xml which was causing the issue. >>> >>> Let me point out that your reply was the fastest and most accurate from >>> any of my stack overflow posts :) >>> Will keep in mind to try there first though. Thanks! >> >> -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/afe433b2-9fcb-40de-93a3-6640fb18382f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
