Redis configuration, status monitoring and performance tuning
This article mainly introduces and demonstrates some commands and usage of Redis-related status monitoring and performance tuning:
1 、 redis-benchmark
Redis benchmark information, redis server performance testing
For example:
Test redis server performance, native port 6379 instances, 100 concurrent connections, 100000 requests
Redis-benchmark-h localhost-p 6379-c 100-n 100000
[root@redis-server] # redis-benchmark-h localhost-p 6379-c 100-n 100000 = PING_INLINE = 100000 requests completed in 1.29 seconds 100 parallel clients 3 bytes payload keep alive: 181.97%