Google云数据存储与Google App Engine [英] Google Cloud Datastore vs Google App Engine

查看:97
本文介绍了Google云数据存储与Google App Engine的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在查看新的Google Cloud Datastore,看起来不错。但有一些我无法理解的......是否应该替代Google App Engine数据存储?我如何在GAE内部使用它?它们之间有什么区别?

I was having a look at the new Google Cloud Datastore and looks great. But there is something I could not understand... is it supposed to substitute Google App Engine Datastore? How can I use it inside GAE? What are the differences between both of them?

我在Java中有一个GAE应用程序,它使用3个实体,每个实体有数千行,我需要经常进行连接...

I have a GAE app in Java that uses 3 entities with thousands of rows each one, and I need to do joins quite often...

推荐答案

云数据存储 App Engine数据存储,用于外部 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.

您肯定赢得' t获得更高效的联接。如果你真的需要这个,也许你应该看看Cloud SQL,它基本上是你可以在App Engine中使用的一个MySQL版本。

You certainly won't get more efficient joins. If you really need that, perhaps you should look into Cloud SQL, which is basically a version of MySQL you can use from App Engine.

这篇关于Google云数据存储与Google App Engine的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆