Blogger Information
Blog 42
fans 3
comment 2
visits 93532
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
Memcache与Redis的区别
Whitney的博客
Original
1145 people have browsed it

Memcache与Redis的区别

Memcache

数据在内存中存储,如果服务器突然断电,则数据会丢失;

单个key困房的数据有1MB的限制;

存储的数据类型都是String字符串类型;

本身没有持久化功能;

可以使用多核(多线程);

Redis

数据类型比较丰富:String,List,Set,Sortedset,Hash;

有持久化功能,可以把数据随时存储在磁盘上

本身有一定的计算功能;

单个key存放的数据有1GB的限制;

Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post