Google Cloud Storage vs Google Cloud DataStore

9,790 views
Skip to first unread message

Lan Nguyen

unread,
Jun 18, 2013, 5:58:22 PM6/18/13
to gcd-d...@googlegroups.com
What are differences between Cloud Storage and Cloud DataStore? Is there a Golang API for Google Cloud DataStore.  


Thanks

Johan Euphrosine

unread,
Jun 18, 2013, 6:06:19 PM6/18/13
to Lan Nguyen, gcd-d...@googlegroups.com
Google Cloud Storage is for storing immutable blob objects (think images, and static files).
Google Cloud Datastore is for storing structured application data that are mutable (think User entity, Blog post, etc).

You can read more about Cloud Datastore Entities here:

You should be able to access the datastore from Go using google-api-go-client once this change is submitted:


On Tue, Jun 18, 2013 at 2:58 PM, Lan Nguyen <lann...@gmail.com> wrote:
What are differences between Cloud Storage and Cloud DataStore? Is there a Golang API for Google Cloud DataStore.  


Thanks

--
You received this message because you are subscribed to the Google Groups "Google Cloud Datastore" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gcd-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Johan Euphrosine (proppy)
Developer Programs Engineer
Google Developer Relations

Lan Nguyen

unread,
Jun 19, 2013, 12:26:09 AM6/19/13
to Johan Euphrosine, gcd-d...@googlegroups.com
Thanks for the update.  I was almost mislead by a post on http://stackoverflow.com/questions/16687671/google-cloud-datastore-vs-google-app-engine

"The cloud datastore is the App Engine datastore, for use outside App Engine. You won't get any benefit trying to use it with your App Engine app, unless you need other external apps to also have access to the data."


--
Lan Tuong Nguyen

Johan Euphrosine

unread,
Jun 19, 2013, 2:19:13 PM6/19/13
to Lan Nguyen, gcd-d...@googlegroups.com
This answer is right, Cloud Datastore is the App Engine datastore but accessible outside of App Engine as a regular Google APIs: https://developers.google.com/datastore/

Cloud Storage is something different for storing file-like object: http://developers.google.com/storage

Lan Nguyen

unread,
Jun 19, 2013, 2:35:42 PM6/19/13
to Johan Euphrosine, gcd-d...@googlegroups.com

thanks for the clarification.

Bruno Estevam

unread,
Nov 24, 2017, 1:20:42 PM11/24/17
to Google Cloud Datastore
Another difference that is worth mentioning is that Google Cloud Storage supports Multi-Regional buckets that synchronize data across regions automatically, while Google Cloud Datastore is stored within a single region. So if you want to store your data across multiple regions, for example, Cloud Storage is your way to go.

Patrick Costello

unread,
Nov 24, 2017, 1:33:56 PM11/24/17
to Bruno Estevam, Google Cloud Datastore
Hi Bruno and Lan,

Here is a very helpful guide for choosing storage options in GCP: https://cloud.google.com/storage-options/. The main decision point around Google Cloud Storage and Google Cloud Datastore will be if your data is structured or not. Cloud Datastore gives you the ability to query on your data (equalities, inequalities, sorting), as well as giving you the ability to transact across multiple entities. 

Cloud Datastore does offer a golang API. Check out the API tutorial here: https://cloud.google.com/datastore/docs/datastore-api-tutorial and select the "Go" tab on the code examples.

-Patrick

--
You received this message because you are subscribed to the Google Groups "Google Cloud Datastore" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gcd-discuss...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages