是否可以使用bulkloader上传到Blobstore
有谁知道是否可以使用bulkloader将数据推送到GAE Blobstore中?
我有 100,000 张图块图像需要推送到我的 Google 应用程序。
目前,我正在慢慢地将它们推送到数据存储(看起来非常慢,因为由于错误而不断“后退”)。我认为 Blobstore 可能会更有效地为我的图块提供备份。
Does anyone know if it's possible to use bulkloader to push data into GAE Blobstore?
I have few 100,000 tile images I need to push to my Google App.
At present I'm slowly pushing them to Datastore (seems incredibly slow as keeps "backing off" due to errors). I assume the Blobstore will probably be more efficient for serving my tiles back up.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
不,bulkloader 目前对此没有任何内置支持。
No, the bulkloader doesn't currently have any built-in support for this.
我不认为bulkloader 只能上传图像。它从自己下载的备份文件上传数据。
如果你有 10 万张图像,我会编写一个脚本来上传所有图像。看来您目前是手动执行的。
这是关于如何从python脚本上传文件的问题。
I don't think that bulkloader can just upload images. It uploads data from backup files that was downloaded by itself.
If you have 100K images I'd white a script to upload all of them. Looks like you do it manualy at the moment.
Here is the question about how to upload files from python script.
您可以按照简单的指南编写一个小型 Python 脚本,将文件上传到 blobstore .
主要是,
因此,Blobstore 有望接受可通过单个 http 连接上传的大尺寸用户数据。它并不意味着从管理控制台上传大量文件/数据。至少目前还没有这样的功能。
You can follow the simple guideline to write a small python script to upload your files to blobstore.
Mainly,
So, Blobstore is expected to accept big size user data that can be uploaded over a single http connection. It is not meant to upload bulk number of files/data from admin console. At least for now there is no such feature.