将Google App Engine数据存储导出到MySQL? [英] Exporting Google App Engine Datastore to MySQL?

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

问题描述

我们正在考虑将我们的一些基础设施建设到Google App Engine上。但我们担心,如果它不能扩展,我们将需要导出数据并将来在我们自己的服务器上运行。



有没有办法从App Engine Datastore导出到MySQL?

解决方案

就数据导出而言, Bulk Downloader 仅用于此目的。默认情况下,它会导出为CSV文件,但您可以编写一个自定义Exporter类,该类直接导出到MySQL数据库或您选择的任何其他格式。



变得可以托管备用的App Engine环境,这要归功于像 AppScale (我自己的)< a href =http://arachnid.github.com/BDBDatastore/ =noreferrer> BDBDatastore ,

We're thinking of building some of our infrastructure on to Google App Engine. But we're worried that if it does not scale, we'll need to export the data and run it on our own servers in future.

Is there a way to export from App Engine Datastore to MySQL?

解决方案

As far as data export goes, the Bulk Downloader exists for just this purpose. By default it exports to CSV files, but you can write a custom Exporter class that exports directly to a MySQL database, or any other format of your choosing.

It's also rapidly becoming possible to host an alternate App Engine environment thanks to projects like AppScale, (my own) BDBDatastore, and TwistedAE.

In general, I think your scaling concerns are unfounded - App Engine already hosts many apps that receive high levels of traffic, but that depends in part on your app and its needs. Of course, I'm biased - I'm on the App Engine team, so take my assessment with a grain of salt. ;)

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

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