Redisbench and REIDS-CLI test, monitor redis status and performance

Source: Internet
Author: User
Tags keep alive

CentOS System

Installation:

Yum-y Install Redis

Bring your own Redisbench test tool


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 with host localhost port 6379


Benchmark Tool Test Information:
Test command:
Redis-benchmark-n 100000-C 60
Send 100,000 requests to the Redis server with 60 concurrent clients per request
Results (partial):
====== SET ======
Writing a test to a collection
100000 requests completed in 2.38 seconds
100,000 requests completed in 2.38 seconds
Parallel clients
60 Concurrent Clients per request
3 bytes Payload
Write 3 bytes of data at a time
Keep Alive:1
Keep a connection, a server to process these requests

93.06% <= milliseconds
99.96% <= milliseconds
99.98% <= milliseconds
99.99% <= milliseconds
100.00% <= milliseconds
All requests are completed within 62 milliseconds
42105.26 Requests per second
Processing 42105.26 Requests Per second



2, Redis-cli

redis-cli-h localhost-p 6380 Monitor
Dump all the received requests in real time;
Monitoring host localhost, port 6380,redis connection and read-write operation

redis-cli-h localhost-p 6380 Info
Provide information and statistics about the server;
Provides statistics for host-localhost, Port-6380,redis services



Redis-cli-h 10.10.86.x

>set name Jasonok>get name "Jason"


Redisbench and REIDS-CLI test, monitor redis status and performance

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.