在NoSQL商店中存储图像 [英] Storing images in NoSQL stores

查看:101
本文介绍了在NoSQL商店中存储图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的应用程序将通过HTTP提供大量小的缩略图大小的图像(大小约为6-12KB)。我被要求调查是否使用NoSQL数据存储是一种可行的数据存储解决方案。理想情况下,我们希望我们的数据存储是容错和分布式的。

Our application will be serving a large number of small, thumbnail-size images (about 6-12KB in size) through HTTP. I've been asked to investigate whether using a NoSQL data store is a viable solution for data storage. Ideally, we would like our data store to be fault-toerant and distributed.

将漏洞存储在NoSQL存储中是一个好主意,哪一个对它有好处?此外,NoSQL是我们问题的一个很好的解决方案,还是我们可以更好地将图像存储在文件系统中并直接从Web服务器提供服务(另外,CDN目前不是我们的选择)?

Is it a good idea to store blobs in NoSQL stores, and which one is good for it? Also, is NoSQL a good solution for our problem, or would we be better served storing the images in the file system and serving them directly from the web server (as an aside, CDN is currently not an option for us)?

推荐答案

Mongo数据库应该适合您。我还没有用它来制作blob,但这里有一个很棒的FLOSS周刊播客Michael Dirolf 来自Mongo数据库团队,他解决了这个用例。

Mongo DB should work well for you. I haven't used it for blobs yet, but here is a nice FLOSS Weekly podcast interview with Michael Dirolf from the Mongo DB team where he addresses this use case.

这篇关于在NoSQL商店中存储图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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