当前位置:网站首页>Redis' performance indicators and monitoring methods
Redis' performance indicators and monitoring methods
2022-07-06 09:14:00 【~Pompeii】
Catalog
Redis The performance index of 、 Monitoring mode
1. Performance index classification
1. Performance indicators :Performance
2. Memory metrics :Memory
3. Basic activity indicators :Basic activity
4. Persistence index :Persistence
5. Error indicators :Error
2.Performance
Low cache hit rate means that the server will be under great pressure ;
key The expiration time of will have a little impact on the cache hit rate
3.Memory
4.Basic activity
5.Persistence
6.Error
7. Monitoring mode
Tools ( Need to install )
1.Cloud Insight Redis
2.Prometheus
3.Redis-stat
4.Redis-faina
5.RedisLive
6.zabbix
command (redis These commands provided for us )
1.benchmark
2.redis cli
1)monitor
2)showlog
8.benchmark
command
redis-benchmark [-h ] [-p ] [-c ] [-n <requests]> [-k ]
Example 1
explain : By default ,50 A connection ,10000 The corresponding performance of the second request
redis-benchmark
Example 2
explain :100 A connection ,5000 The corresponding performance of the second request
redis-benchmark -c 100 -n 5000
9.monitor
The order is as follows , Used to print server debugging information
monitor
10.showlog
command
get : Get slow query log
len : Get the number of slow query log entries
reset : Reset slow query log
showlog [operator]
Related configuration
slowlog-log-slower-than 1000 # Set the offline time for slow query , Company : subtle
slowlog-max-len 100 # Set the log display length corresponding to the slow query command , Company : Number of orders
11. demonstration (benchmark)
No use redis It can be operated in the client
12. demonstration (monitor)
Must enter redis client .
send out hello
13.showlog
Because we didn't execute too many instructions , Or an instruction doesn't take much time , So what we found is empty
边栏推荐
- [daily question] Porter (DFS / DP)
- SAP ui5 date type sap ui. model. type. Analysis of the parsing format of date
- CUDA implementation of self defined convolution attention operator
- LeetCode:221. Largest Square
- Seven layer network architecture
- Kratos战神微服务框架(三)
- 【图的三大存储方式】只会用邻接矩阵就out了
- Basic usage of xargs command
- Using C language to complete a simple calculator (function pointer array and callback function)
- LeetCode:387. The first unique character in the string
猜你喜欢
Advanced Computer Network Review(4)——Congestion Control of MPTCP
Compétences en mémoire des graphiques UML
Once you change the test steps, write all the code. Why not try yaml to realize data-driven?
数学建模2004B题(输电问题)
Pytest之收集用例规则与运行指定用例
Redis之哨兵模式
Selenium+Pytest自动化测试框架实战
QML type: locale, date
数字人主播618手语带货,便捷2780万名听障人士
Cesium draw points, lines, and faces
随机推荐
Seven layer network architecture
Redis之发布订阅
Intel distiller Toolkit - Quantitative implementation 3
Redis之五大基础数据结构深入、应用场景
Intel distiller Toolkit - Quantitative implementation 2
[OC]-<UI入门>--常用控件-提示对话框 And 等待提示器(圈)
An article takes you to understand the working principle of selenium in detail
使用标签模板解决用户恶意输入的问题
Booking of tourism products in Gansu quadrupled: "green horse" became popular, and one room of B & B around Gansu museum was hard to find
[oc]- < getting started with UI> -- learning common controls
[Hacker News Weekly] data visualization artifact; Top 10 Web hacker technologies; Postman supports grpc
Redis之Geospatial
Parameterization of postman
Chapter 1 :Application of Artificial intelligence in Drug Design:Opportunity and Challenges
QML control type: menu
Problems encountered in connecting the database of the project and their solutions
requests的深入刨析及封装调用
[OC]-<UI入门>--常用控件-UIButton
Pytest parameterization some tips you don't know / pytest you don't know
Improved deep embedded clustering with local structure preservation (Idec)