是否可以使用bulkloader上传到Blobstore

发布于 2024-10-04 13:56:17 字数 175 浏览 0 评论 0原文

有谁知道是否可以使用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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

橘香 2024-10-11 13:56:17

不,bulkloader 目前对此没有任何内置支持。

No, the bulkloader doesn't currently have any built-in support for this.

哥,最终变帅啦 2024-10-11 13:56:17

我不认为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.

一场信仰旅途 2024-10-11 13:56:17

您可以按照简单的指南编写一个小型 Python 脚本,将文件上传到 blobstore .

主要是,

应用程序可以使用 Blobstore 接受用户上传的大文件并提供这些文件。

因此,Blobstore 有望接受可通过单个 http 连接上传的大尺寸用户数据。它并不意味着从管理控制台上传大量文件/数据。至少目前还没有这样的功能。

You can follow the simple guideline to write a small python script to upload your files to blobstore.

Mainly,

Applications can use the Blobstore to accept large files as uploads from users and to serve those files.

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文