appengine with firestore in a different google cloud project.

30 views
Skip to first unread message

Rajesh Gupta

unread,
Jan 31, 2019, 10:52:15 PM1/31/19
to google-a...@googlegroups.com, fireba...@googlegroups.com, google-cloud-fi...@googlegroups.com
Hi,
I have existing appengine app using datastore. Hence I cannot use the firestore also in the same app. 
I want to use firestore in my app for future development and take the benefit of the firestore features

My option:
I will use firebase admin sdk to connect to another GCP project from my existing appengine server.

Question on performance:
Is there a performance difference in using the firestore from the same cloud project compared to using the firestore from another google cloud project.
Is my option ok?  Any other options.

Rajesh
Field Service Software on Google Cloud Platform and Mobile


George (Cloud Platform Support)

unread,
Feb 1, 2019, 12:06:26 PM2/1/19
to Google App Engine
Hello Rajesh, 

The abstract separation introduced by two different project names should not result in in real Firestore access time differences. Are your projects situated in different regions? If your Firestore instance is situated in one of these regions, and you have another project open in another region, this region difference might tempt one to believe that access times will differ if accessed from the same region vs. a different one. This is not the case, as Cloud Firestore is a multi-region solution that scales automatically. You may find more detail on the "Choose a Database: Cloud Firestore or Realtime Database" documentation page
Reply all
Reply to author
Forward
0 new messages