在AppEngine项目之外使用Google AppEngine数据存储区

时间:2023-01-24 18:12:44

For my little framework Pyxer I would like to to be able to use the Google AppEngine datastores also outside of AppEngine projects, because I'm now used to this ORM pattern and for little quick hacks this is nice. I can not use Google AppEngine for all of my projects because of its's limitations in file size and number of files.

对于我的小框架Pyxer,我希望能够在AppEngine项目之外使用Google AppEngine数据存储区,因为我现在已经习惯了这种ORM模式,并且对于快速破解这一点很不错。由于文件大小和文件数量的限制,我不能将Google AppEngine用于我的所有项目。

A great alternative would also be, if there was a project that provides an ORM with the same naming as the AppEngine datastore. I also like the GQL approach very much, since this is a nice combination of ORM and SQL patterns.

如果有一个项目为ORM提供与AppEngine数据存储相同的命名,那么也是一个很好的选择。我也非常喜欢GQL方法,因为这是ORM和SQL模式的完美结合。

Any ideas where or how I might find such a solution? Thanks.

任何想法我可以在哪里或如何找到这样的解决方案?谢谢。

3 个解决方案

#1


5  

Nick Johnson, from the app engine team himself, has a blog posting listing some of the alternatives, including his BDBdatastore.

来自应用程序引擎团队的尼克约翰逊有一篇博客文章列出了一些替代方案,包括他的BDBdatastore。

However, that assumes you want to use exactly the same ORM that you use now in app engine. There are tons of ORM options in general out there, though I am not familiar with the state of the art in Python. This question does seem to address the issue though.

但是,假设您希望使用与现在在app引擎中使用的完全相同的ORM。虽然我不熟悉Python中的最新技术,但总有很多ORM选项。这个问题确实似乎解决了这个问题。

#2


4  

You might also want to look at AppScale, which is "a platform that allows users to deploy and host their own Google App Engine applications".

您可能还想查看AppScale,它是“允许用户部署和托管自己的Google App Engine应用程序的平台”。

It's probably overkill for your purposes, but definitely something to look into.

这对你的目的来说可能有些过分,但绝对值得关注。

#3


0  

There is also the Remote API which the bulkloader tool uses to upload or download data into/from the Datastore.

还有远程API,批量加载程序工具用于将数据上载到数据存储区或从数据存储区下载数据。

Maybe it could be used to have applications which are not hosted on AppEngine to still use the Datastore there.

也许它可以用于让AppEngine上没有托管的应用程序仍然在那里使用数据存储区。

#1


5  

Nick Johnson, from the app engine team himself, has a blog posting listing some of the alternatives, including his BDBdatastore.

来自应用程序引擎团队的尼克约翰逊有一篇博客文章列出了一些替代方案,包括他的BDBdatastore。

However, that assumes you want to use exactly the same ORM that you use now in app engine. There are tons of ORM options in general out there, though I am not familiar with the state of the art in Python. This question does seem to address the issue though.

但是,假设您希望使用与现在在app引擎中使用的完全相同的ORM。虽然我不熟悉Python中的最新技术,但总有很多ORM选项。这个问题确实似乎解决了这个问题。

#2


4  

You might also want to look at AppScale, which is "a platform that allows users to deploy and host their own Google App Engine applications".

您可能还想查看AppScale,它是“允许用户部署和托管自己的Google App Engine应用程序的平台”。

It's probably overkill for your purposes, but definitely something to look into.

这对你的目的来说可能有些过分,但绝对值得关注。

#3


0  

There is also the Remote API which the bulkloader tool uses to upload or download data into/from the Datastore.

还有远程API,批量加载程序工具用于将数据上载到数据存储区或从数据存储区下载数据。

Maybe it could be used to have applications which are not hosted on AppEngine to still use the Datastore there.

也许它可以用于让AppEngine上没有托管的应用程序仍然在那里使用数据存储区。