Skip to content

alonre24/CachePerformanceTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RedisGraph Cache Benchmark

This repo aims to benchmark RedisGraph caching mechanism in terms of throughput and memory consumpation.

For running this benchmark, use the command:

go run performance.go [-host host] [-total_commands total_commands] [-clients clients] [-hit_rate hit_rate]

while RedisGraph is running in the background with CACHE_SIZE=25.

argumetns:

host: redis host address (default is "127.0.0.1:6379").

total_commands: Number of commands to execute (default is 1000000).

clients: Number of concurrent clients (default is 20). The commands are split equally between the clients.

hit_rate: Expected cache hit rate (default is 0.9).

Output includes Average throughput (in commands per second) and server's memory usage (in MB), along with the actual hit rate and a csv file called AvgServerLatency.csv, which indicates the average latency reported by the server (in NanoSeconds) over time during the run.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published