Redis Status and performance monitoring

Source: Internet
Author: User
Tags benchmark redis redis server

http://blog.csdn.net/pestd/article/details/7329664

1, Redis-benchmark
Redis benchmark information, Redis server performance detection

Redis-benchmark-h localhost-p 6379-c 100-n 100000
100 concurrent connections, 100,000 requests, detects Redis server performance   [root@architect redis-1.2.6]#  with host localhost port 6379 redis-benchmark -h localhost -p 6379 -c 100 -n 100000   ===== = ping ======     10001 requests completed in 0.41  seconds     50 parallel clients     3 bytes payload      keep alive: 1      0.01% <= 0  milliseconds   23.09% <= 1 milliseconds   85.82% <= 2  milliseconds   95.60% <= 3 milliseconds   97.20% <= 4  milliseconds   97.96% <= 5 milliseconds   98.83% <= 6  milliseconds   99.41% <= 7 milliseconds   99.70% <= 8  milliseconds   99.99% <= 9 milliseconds   100.00% <= 12 milliseconds   24274.27 requests per second  

2, REDIS-CLI

Redis-cli-h localhost-p 6380 Monitor
Dump all the received requests in real time;
Monitor host localhost, port 6380,redis connection and read and write operations [Root@architect redis-1.2.6]# redis-cli-h localhost-p 6380 Monitor +ok +128 9800615.808225 "Monitor" +1289800615.839079 "GET" "Name" +1289800615.853694 "ping" +1289800615.853783 "ping" +1289 800615.854646 "ping" +1289800615.854974 "ping" +1289800615.857693 "ping" +1289800615.866862 "ping" +1289800615.871 944 "PING"

Redis-cli-h Localhost-p 6380 Info
Provide information and statistics about the server;
Provides statistics for host localhost, port for 6380,redis service [root@architect redis-1.2.6]# redis-cli-h localhost-p 6380 info redis_version: 2.0.4 redis_git_sha1:00000000 redis_git_dirty:0 arch_bits:32 multiplexing_api:epoll process_id:21990 uptime_in   _seconds:490580 uptime_in_days:5 connected_clients:103 connected_slaves:0 blocked_clients:0 used_memory:4453240 used_memory_human:4.25m

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.