当前位置:网站首页>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
边栏推荐
- LeetCode高频题128. 最长连续序列,经常被互联网大厂面试考到
- Gbase 8C backup control function (IV)
- unreal ue4.27 switchboard 移植出引擎流程
- GBase 8c 事务ID和快照(六)
- FreeRTOS内核小结
- In the era of great changes in material enterprises, SRM supplier procurement system helps enterprises build a digital benchmark for property procurement
- HCIP第十三天笔记
- Gbase 8C transaction ID and snapshot (IV)
- Gbase 8C transaction ID and snapshot (I)
- 数字经济才是未来经济发展的核心
猜你喜欢

自定义类型:结构体,枚举,联合

Completely delete MySQL in Linux system

Linux安装mysql8.0.29详细教程

Fluorite network, difficult to be a "lone brave"

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

unreal ue4.27 switchboard 移植出引擎流程

【taichi】在太极中画出规整的网格

Redis设计规范

暴雪《暗黑破坏神 4》PS5 / PS4 测试版添加到 PlayStation 数据库

数据安全与隐私计算峰会-可证明安全:学习
随机推荐
LeetCode第 83 场双周赛
Favorite songs
DeviceXPlorer OPC Server支持哪些设备?本文已列举出来了
GBase 8c 事务ID和快照(六)
GBase 8c 数据库对象尺寸函数(一)
HCIP第十二天笔记
Typescript中类的使用
N32l43x FLASH read \ write \ erase operation summary
GBase 8c 配置设置函数
Leveraging the blue ocean of household appliances consumption with "digital channels", the dealer online system enables enterprises to further their business
学习了循环碰到了编写计算n的阶乘的题目,由此引发了一系列问题,包括一些初学者常见的坑,以及如何简化代码
unreal ue4.27 switchboard 移植出引擎流程
Cloud native enthusiast weekly: the evolution of Prometheus architecture
Unreal ue4.27 switchboard porting engine process
Fiddler mobile packet capturing agent settings (for Huawei glory 60s)
Netease cloud copywriting
The storage cost is reduced by 80%. How does the cost management of youzan data middle office do?
二叉树的遍历和性质
Prediction of charitable donation behavior by EEG multivariate model analysis
软件测试面试题:测试计划工作的目的是什么?测试计划工作的内容都包括什么?其中哪些是最重要的?