当前位置:网站首页>How is redis different from memcached
How is redis different from memcached
2022-07-21 20:50:00 【MountainYanYL】
1,memcached Single key Size is 1M, The new version is 2M.
2, Single redis Its size is 512M
3,memcached Is a multithreaded cache server , and redis Is a single threaded server
4,memcached Data cannot be persisted , Data will be lost after power failure
5,redis Make data persistent , Its use RDB The mechanism and AOF Mechanism for data persistence
6,memcached No clustering support , Its multi server situation is addServer When , Used by the client hash The way , Assign to the specified server ,
7,redis Support clusters , In the end 16 Databases ,memcached There is no concept of a library .
8,redis Support more data types , and memcached Only key value pairs key-value,
9,redis In use , It can also be used as a queue server . It also supports message subscription ( The chat room , Message push ).
10,redis The internal implementation is the data dictionary .
11,redis Default port number 6379,memcached Default port number : 11211
Redis Supported data types
String , hash ,list ,set ,zset
Memcached Supported data types
String :key-value
边栏推荐
- The most common throttling scenario is the pull-down refresh and pull-up load of uniapp
- 20. [char* is equal to string but not equal]
- VOF phase transition equation in openfoam
- Zero dimensional interior ballistic equations of solid rocket motor
- 鼠标禁用样式(cursor: not-allowed)无效和鼠标禁用事件(pointer-events: none)冲突
- Latex: derivative related symbols
- PHP的魔术方法
- Porous media in openfoam
- h5在线聊天室
- Web server / client setup (nodejs starts exe program)
猜你喜欢
推荐一个好用的 所见即所得的 markdown 编辑器 Mark Text
COMSOL heat conduction method to solve maze problem (path planning)
oh-my-zsh 效率插件
DVWA[SQL-Injection(Blind)]学习记录
JS使用递归实现对象的深拷贝
1. Vite acquaintance and vite construction project
用大白话让你理解TypeScript的要点.(三)
BUUCTF n1book [第二章 web进阶]文件上传
Getting started with mobile security
微信小程序request:fail -2:net::ERR_FAILED
随机推荐
Web server / client setup (nodejs starts exe program)
Porous media in openfoam
Hot update in development mode to speed up the code update of development environment
php截取得到指定字符串之前与之前后的内容
12. [i/o flow get() and getline() and put() functions]
Zero dimensional interior ballistic equations of solid rocket motor
First Working Day~
ecshop漏洞复现
自定义获取请求参数类 GET POST
Laravel5.1 下的计划任务
The most common throttling scenario is the pull-down refresh and pull-up load of uniapp
Nodejs uses the post method to receive JS objects and write JSON files
Realization of serpentine digital lattice Write a cube function with the input parameter of num. the requirements are as follows through JS: when num=3, the output table effect is: [[1,2,3] [6,5,4] [7
Openfoam tips
二维无粘流动雅可比特征系统的推导
微信小程序request:fail -2:net::ERR_FAILED
h5在线聊天室
10. [file opening format and its determination of whether to open]
VOF phase transition equation in openfoam
Nodejs waits for a period of time