29

怎么存储千万级别的图片文件, 在保证尽可能节省空间的前提下,还能方便读写

 4 years ago
source link: https://www.v2ex.com/t/678233
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
数据库 - @xchaoinfo - 之前的图片都是一个个小文件放在文件夹中, 这样的问题是, 需要的存储空间比较大, 图片迁移也不方便, 而且对 I/O 的消耗非常大.目前考虑使用数据库来存储, 方案有 lmdb sqlite请

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK