当前位置:网站首页>Redis server configuration
Redis server configuration
2022-06-13 02:56:00 【Knowing and knowing】
redis Server configuration
1. Server settings
- Set the server to run as a daemons
daemonize yes | no
- Bind host address
bind127.0.0.1
- Set the server port number
port 6379
- Set the number of databases
databases 16
2. Log configuration
- Set up the server to specify the logging level
loglevel debug | verbose | notice | warning
- Log file name
logfi1e Port number .1og
Be careful : The log level development period is set to verbosel that will do , In the production environment, the configuration is notice, Simplify log output , Reduce write log O The frequency of
3. Client configuration
- Sets the maximum number of client connections at one time , Default limit . When the client connection reaches the upper limit ,Rdis Will close the new connection .
maxclients 0
- The maximum waiting time of idle client , Close the connection when the maximum value is reached . To turn off the function , Set to 0.
timeout 300
4. Multi server quick configuration
● Import and load the specified profile information , Used to quickly create redis There are more public facilities redis, Instance configuration file , Easy to maintain .
include /path/server- Port number .conf
边栏推荐
- Scala implements workcount
- Kotlin memorandum
- Summary of innovative ideas of transformer model in CV
- [data analysis and visualization] key points of data drawing 9- color selection
- wx.createSelectorQuery()在components获取Dom节点的使用
- Ijkplayer source code -- Library loading and initialization
- 二叉樹初始化代碼
- Hash tables: metaphrases
- Pycharm and Anaconda ultra detailed installation and configuration tutorial
- Ijkplayer source code - audio playback
猜你喜欢
CDN single page reference of indexbar index column in vant framework cannot be displayed normally
PCR validation of basic biological experiments in [life sciences]
Operating principle of JS core EventLoop
Binary tree initialization code
JS deconstruction assignment
Available types in C #_ Unavailable type_ C double question mark_ C question mark point_ C null is not equal to
Prometheus node_exporter安装并注册为服务
[data analysis and visualization] key points of data drawing 3- spaghetti map
Matlab: obtain the figure edge contour and divide the figure n equally
2019 - sorting out the latest and most comprehensive IOS test questions (including framework and algorithm questions)
随机推荐
IOS development internal volume interview questions
The weight of the input and textarea components of the applet is higher than that of the fixed Z-index
Why does it feel that most papers still use RESNET as the backbone network rather than densenet?
vant实现移动端的适配
Opencv 9 resize size change rotate rotate blur mean (blur)
Implementing fillet in custom dialog
Applet image component long press to identify supported codes
OneNote User Guide (1)
[data analysis and visualization] key points of data drawing 4- problems of pie chart
Introduction to facial expression recognition system - Technical Paper Edition
冲刺强基计划数学物理专题一
MySQL index
二叉树初始化代码
Operating principle of JS core EventLoop
[data analysis and visualization] key points of data drawing 10- construction of legend
String: number of substring palindromes
Six special GPU products for domestic aircraft passed the appraisal and review
遍历数组,删除某元素,直到删除为止
数仓笔记|针对客户维度建模需要关注的5个因素
Change the topic of change tax