如果您要将图像Blob存储在App Engine中,是否应将其放入Blobstore或Google云端存储中? [英] If you're storing an image Blob in App Engine, should you put it in the Blobstore or Google Cloud Storage?

查看:143
本文介绍了如果您要将图像Blob存储在App Engine中,是否应将其放入Blobstore或Google云端存储中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Google云端存储似乎比 App Engine Blobstore



目前,我将用户上传的图像文件存储为 Blob Datastore (App Engine Java API,顺便说一下)中输入字段。不过,我在辩论是否切换到 Blobstore Google云端存储,以允许更大的图片尺寸超过1MB。



Google云端存储似乎比 Blobstore 更具成本效益。哪一个更适合存储大型图片?

解决方案

Blobstore与App Engine紧密集成,而Cloud Storage提供支持-单独。否则,它们看起来像是同一基本服务的不同接口。



我没有看到任何好的技术原因,因为它们的定价不同;或许这是一种市场营销。



Blobstore拥有更成熟的API,并且可以做一些简洁的工作,例如在不用额外存储的情况下制作缩略图。 Cloud Storage API的实验性和快速更改。它们都能完美地存储大型图像。要选择,您需要确定Blobstore更多的原生API是否符合名义上较高的成本。


Google Cloud Storage seems more cost effective than the App Engine Blobstore.

At the moment I am storing user-uploaded image files as Blob type fields in the Datastore (App Engine Java API, by the way).

But I'm debating whether to switch to either the Blobstore or Google Cloud Storage to permit image sizes greater than 1MB.

Google Cloud Storage seems more cost-effective than Blobstore. Which one would be better for storing large images?

解决方案

The Blobstore is tightly integrated with App Engine, while Cloud Storage is offered stand-alone. Otherwise, they look like different interfaces to the same basic service.

I don't see any good technical reason for them to be priced differently; perhaps it's a marketing thing.

The Blobstore has a more mature API and does some neat stuff like making thumbnails on the fly without incurring extra storage. The Cloud Storage API is experimental and rapidly changing. They're both perfectly capable of storing large images. To choose, you'll need to decide if the Blobstore's more rubust API justifies the nominally higher cost.

这篇关于如果您要将图像Blob存储在App Engine中,是否应将其放入Blobstore或Google云端存储中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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