sync between datastore and firestore

63 views
Skip to first unread message

Rajesh Gupta

unread,
Feb 17, 2019, 4:15:35 AM2/17/19
to google-a...@googlegroups.com
Hello,
We have been working on appengine datastore for several years now.
Due to the datastore index limit, we are looking at alternate ways to expand our modules, and we choose Firestore. (We plan to use firestore from a  new project, as it cannot coexist with datastore with in the same project).

We have few KINDS like Customer/Vendors/Products etc.. in the appengine datastore.  The  data should be synced to Firestore.  There should be initial transfer of existing data.  Then when new data is created or existing data is modified, it should be synced to Firestore.

What design can be used here, so that above mentioned data remains consistent from datastore to firestore.   

Does Google datastore team has plans for syncing KINDS from datastore to firestore ??

Rajesh
Field Service Software on Google Cloud Platform and Mobile


George (Cloud Platform Support)

unread,
Feb 25, 2019, 9:43:21 PM2/25/19
to Google App Engine
Hello Rajesh, 

As things are now, is not possible to switch from Datastore to Firestore within the same project. Still, you may operate Firestore in Datastore mode. By creating a Cloud Firestore database in Datastore mode, you can access Cloud Firestore's improved storage layer while keeping Cloud Datastore system behavior. You may find more information of relevance by reading the "Automatic Upgrade to Cloud Firestore" documentation page.

hr lumiins

unread,
May 19, 2019, 4:07:01 PM5/19/19
to Google App Engine
Good info,

I am using objectify datastore , will it affect when switching this flow.

George (Cloud Platform Support)

unread,
May 19, 2019, 4:40:51 PM5/19/19
to Google App Engine
Objectify is a Java data access API specifically designed for the Google Cloud Datastore, so you use in fact Datastore. As a consequence, the above applies: you may operate Firestore in Datastore mode, and you can use information on the "Automatic Upgrade to Cloud Firestore" documentation page
Reply all
Reply to author
Forward
0 new messages