All Projects → opstree → redis-load-test

opstree / redis-load-test

Licence: Apache-2.0 License
A utility to provide easy and fast performance testing for Redis.

Programming Languages

python
139335 projects - #7 most used programming language
Dockerfile
14818 projects
shell
77523 projects

Projects that are alternatives of or similar to redis-load-test

logging-operator
A golang based operator to create and manage EFK (Elasticsearch, Fluentd, and Kibana) stack on Kubernetes
Stars: ✭ 42 (+50%)
Mutual labels:  opstreesolutions
gatling-maven-plugin
Gatling Plugin for Maven
Stars: ✭ 30 (+7.14%)
Mutual labels:  loadtesting
gatling-sbt-plugin
Gatling Plugin for SBT
Stars: ✭ 105 (+275%)
Mutual labels:  loadtesting
kubernetes-jmeter
Jmeter test workload on kubernetes deployed via helm charts – Please [✩Star] if you're using it ;)
Stars: ✭ 61 (+117.86%)
Mutual labels:  loadtesting
Gatling
Modern Load Testing as Code
Stars: ✭ 5,381 (+19117.86%)
Mutual labels:  loadtesting
ddosify
High-performance load testing tool, written in Golang.
Stars: ✭ 3,788 (+13428.57%)
Mutual labels:  loadtesting
StressThing
a software testing platform to perform stress test on web of things
Stars: ✭ 12 (-57.14%)
Mutual labels:  loadtesting
gatling-gradle-plugin-demo
Showcase of the Gatling Plugin for Gradle
Stars: ✭ 17 (-39.29%)
Mutual labels:  loadtesting

Redis Performance Testing - A OpsTree utility to test load on Redis

This main goal of creating this utility is to provide easy and fast performance testing for Redis.

Dependencies

The list of dependencies are not quite long but yes we do have some dependencies.

System Dependencies

  • python3

Python Dependencies

  • locust
  • json
  • argparse
  • redis

Don't worry we have taken care the python dependencies in requirments.txt

Overview of Utility Structure

In this repository we have:-

  • Scripts:- Scripts folder contains all the codebase which is required for performance testing.

    • redis_set.py:- This script is used to set random keys in Redis.
    • redis_read.py:- This script is used to perform GET action on Redis.
    • redis_get_set.py: This script is used to perform SET and GET operation simultaneously on Redis.
    • redis.json:- This is a json file in which we have to define our connection details of Redis. I created this file because I believe that code should not be changed.
  • Results:- This is a directory in which I am dumping some of my test results.

You may need to install python3 manually, for other things you can use requirments.txt

cd Scripts
pip3 install -r requirments.txt

Usage

The use of this utility is not a fancy thing, just need to update the redis.json with your redis connection details. Content of file should be like this:-

{
    "redis_host": "18.215.118.208",
    "redis_port": "6379",
    "redis_password": ""
}

For SET Operation in Redis

./redis_set.py --filepath redis.json

For GET Operation in Redis

locust -f redis_read.py

For GET and SET simultaneously operation in Redis

locust -f redis_get_set.py
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].