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

查看:12
本文介绍了在 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.

将 blob 存储在 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 DB应该适合你.我还没有将它用于 blob,但这里有一个不错的 FLOSS Weekly 播客采访 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天全站免登陆