当前位置:网站首页>Redis design specification
Redis design specification
2022-07-28 02:03:00 【InfoQ】
Key Design specifications for

Java Object storage scheme

Redis Safety suggestion
- Redis Don't be accessed by the Internet , prohibit bind 0.0.0.0 It should be set to bind 192.168.132.128
- change redis The default port of is not 6379, It can be set to others, such as -port 6677
- Redis Use non Root start-up , Do not use root, It can be for redis Create a special account for redis Conduct management .
- Redis To set the password ( Login password and master-slave synchronization password , It is recommended to mix uppercase and lowercase letters with characters in passwords , Improve security ), Don't use the same login password
- Regular backup save/bgsave command Conduct RDB Backup
- Good configuration Linux Firewall rules , Release the minimum range of ports
Redis Memory usage evaluation
Self memory
Buffer memory
Object memory
Redis Memory statistics

Redis Set upper memory limit

Redis Memory recovery strategy
- volatile-lru: Delete the least recently used key
- volatile-lfu: Delete the least frequently used key
- volatile-ttl: In chronological order , Delete expiring key
- volatile-random: Randomly delete data that is about to expire key
- allkeys-lru: Delete the least recently used key
- allkeys-lfu: Delete the least frequently used key
- allkeys-random: Randomly delete all data key
- noeviction: Never expire , If there is a request to add , Returns an error
边栏推荐
- Blizzard Diablo 4 ps5 / PS4 beta added to Playstation database
- 萤石网络,难当「孤勇者」
- Packet capturing wizard netcapture app packet capturing tutorial "complete"
- Gbase 8C transaction ID and snapshot
- 企业运维实践-使用Aliyun容器镜像服务对海外gcr、quay仓库镜像进行镜像拉取构建
- Mark's story
- What are the important applications of MES system in manufacturing enterprises
- 软件测试面试题:测试计划工作的目的是什么?测试计划工作的内容都包括什么?其中哪些是最重要的?
- Linux系统彻底删除Mysql
- 53:第五章:开发admin管理服务:6:开发【admin管理员退出登录,接口】;(一个点:我们想要修改一个采用了某种编码方式的值时,新的值最好也按照这种编码方式编码后,再去修改;)
猜你喜欢

硬件SPI与软件模拟SPI速率对比

Custom type: structure, enumeration, union

Fiddler 手机抓包代理设置(针对华为荣耀60S)

小散量化炒股记|量化系统中数据是源头,教你搭建一款普适的数据源框架

抓包精灵NetCapture APP抓包教程《齐全》

Netease cloud copywriting

Packet capturing wizard netcapture app packet capturing tutorial "complete"

HCIP第十三天笔记

Enterprise operation and maintenance practice - using aliyun container image service to pull and build images of overseas GCR and quay warehouses

FreeRTOS kernel summary
随机推荐
UE4 unreal ndisplay plug-in easy to use three fold screen details
处理数据 给数据换名字
Causes and solutions of JS digital accuracy loss
A happy old age
周报、月报有多折磨人?万能报表模板建议收藏!(附模板)
Enterprise operation and maintenance practice - using aliyun container image service to pull and build images of overseas GCR and quay warehouses
Linux系统彻底删除Mysql
Gbase 8C backup control function (II)
GBase 8c 服务器信号函数
GBase 8c 通用文件访问函数
HCIP第十二天笔记
开源飞控(PX4、ardupilot)
BGP联邦实验
GBase 8c 备份控制函数(一)
数商云供应链集采管理系统解决方案:集采系统管理模式,数字化管控企业物资
递归的使用:1.将平铺数组转为树 2.将树转化为平铺数组
GBase 8c 备份控制函数(二)
After learning the loop, I came across the problem of writing factorial of N, which caused a series of problems, including some common pitfalls for beginners, and how to simplify the code
GBase 8c 注释信息函数
ue4 unreal NDisplay插件 简易使用 三折幕 详细...