当前位置:网站首页>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
边栏推荐
- day7
- How tormenting are weekly and monthly reports? Universal report template recommended collection! (template attached)
- Unreal ue4.27 switchboard porting engine process
- BGP federal experiment
- N32L43x Flash读\写\擦除操作总结
- Gbase 8C configuration setting function
- The storage cost is reduced by 80%. How does the cost management of youzan data middle office do?
- Mark's story
- Leetcode: 515. Find the maximum value in each tree row
- Gbase 8C transaction ID and snapshot (IV)
猜你喜欢

机器学习如何做到疫情可视化——疫情数据分析与预测实战

Machine learning how to achieve epidemic visualization -- epidemic data analysis and prediction practice

Lambda expressions and stream streams

Embedded classic communication protocol

Leveraging the blue ocean of household appliances consumption with "digital channels", the dealer online system enables enterprises to further their business

Data security and privacy computing summit - provable security: Learning

BGP federal experiment

What is method and methodology: understand the underlying logic of self-improvement

Leetcode high frequency question 128. the longest continuous sequence, which is often tested in interviews with Internet companies

Forget the root password
随机推荐
石油化工行业迎战涨价大潮,经销商分销系统平台数字化赋能经销商与门店
2022 software testing skills robotframework + selenium library + Jenkins web Keyword Driven Automation practical tutorial
Linux系统彻底删除Mysql
Linux Installation mysql8.0.29 detailed tutorial
Fiddler mobile packet capturing agent settings (for Huawei glory 60s)
Unity universal red dot system
Interviewer: are you sure redis is a single threaded process?
【面试:并发篇28:volatile】有序性
GBase 8c 通用文件访问函数
Five basic data structures of redis
Comparison between hardware SPI and software analog SPI rate
Process data and change the name of data
云原生爱好者周刊:Prometheus 架构演进之路
mongodb/mongoTemplate.upsert批量插入更新数据的实现
Favorite songs
The petrochemical industry is facing the tide of rising prices, and the digital dealer distribution system platform enables dealers and stores
FreeRTOS内核小结
GBase 8c 备份控制函数(一)
网易云仿写
数字经济才是未来经济发展的核心