Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sarakhild/redis-performance
https://github.com/sarakhild/redis-performance
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sarakhild/redis-performance
- Owner: SaraKhild
- Created: 2024-09-12T09:18:45.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-09-14T19:03:34.000Z (3 months ago)
- Last Synced: 2024-09-15T04:25:47.608Z (3 months ago)
- Language: Java
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# JMeter Performance Test Results for Three Redis implementations: spring-boot-starter-data-redis, redisson-spring-boot-starter, and spring-boot-starter-data-redis-reactive.
## Overview
This project compares the performance of three different Redis implementations using JMeter: spring-boot-starter-data-redis, redisson-spring-boot-starter, and spring-boot-starter-data-redis-reactive. The tests evaluate the throughput, latency, and resource consumption of each implementation under different load conditions, providing insights into the optimal choice for high-performance, scalable applications.
## Usages
- Data Redis
- Redis Reactive
- Redisson## Architecture of each the Projects
### 1-src folder
- configration
- controller
- model
- repository
- service
- util
### 2-resources folder
- application.properties
- schema.sql
### 3-Maven pom.xml of Data Redis
```
com.example
redis-reactive
0.0.1-SNAPSHOT
org.springframework.boot
spring-boot-starter-data-redis
org.springframework.boot
spring-boot-starter-webflux
org.projectlombok
lombok
true
org.springframework.boot
spring-boot-starter-data-r2dbc
com.mysql
mysql-connector-j
runtime
io.asyncer
r2dbc-mysql
runtime
org.springframework.boot
spring-boot-starter-test
test
io.projectreactor
reactor-test
test
```### 4-Maven pom.xml of Redis Reactive
```
org.springframework.boot
spring-boot-starter-data-redis-reactive
org.springframework.boot
spring-boot-starter-webflux
org.projectlombok
lombok
1.18.30
provided
org.springframework.boot
spring-boot-starter-data-r2dbc
com.mysql
mysql-connector-j
runtime
io.asyncer
r2dbc-mysql
runtime
org.springframework.boot
spring-boot-starter-test
test
io.projectreactor
reactor-test
test
```
### 5-Maven pom.xml of Redisson
```
com.example
redis-reactive
0.0.1-SNAPSHOT
org.springframework.boot
spring-boot-starter-webflux
org.redisson
redisson-spring-boot-starter
3.16.6
org.projectlombok
lombok
1.18.30
provided
org.springframework.boot
spring-boot-starter-data-r2dbc
com.mysql
mysql-connector-j
runtime
io.asyncer
r2dbc-mysql
runtime
org.springframework.boot
spring-boot-starter-test
test
io.projectreactor
reactor-test
test
```
###### Output :star_struck:
The `spring-boot-starter-data-redis-reactive` implementation seems to have **the best overall performance**, as it shows **lower average response times** and **higher throughput**.`Redisson` and `spring-boot-starter- data-redis` have **similar performance**.- Redis:
- Redis Reactive:
- Redisson:
---
### Good Luck