图片存储用memcached仍是redis

WBOY
Release: 2016-06-13 11:53:53
Original
882 people have browsed it

图片存储用memcached还是redis
最近在做一个图片类应用,对图片的读取速度要求很高,一般从物理硬盘的读取速度达不到期望,所以想试试用内存存贮,但犹豫选用memcached还是redis,请大家帮我分析分析我的想法是否可行,还有应该选用mem还是redis。我的需求是:1、写操作不多,主要是读取操作;2、不必考虑内存大小的问题;3、永久存储,容错率要低。谢谢
------解决方案--------------------
redis
1、memcached 的最大容量是受限的
2、memcached 不会自动将内容存于硬盘,不符合永久存储的要求

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template