Skip to content

bculberson/mysql_cache_performance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mysql_cache_performance

Project to performance benchmark using mysql reader as a cache vs redis

to run:

  • docker-machine create mysqlbench
  • eval "$(docker-machine env mysqlbench)"
  • docker-compose up mysqlbench

Example output:

bench_1 | testing: warning: no tests to run

bench_1 | PASS

bench_1 | BenchmarkMySqlGet 20000 79181 ns/op

bench_1 | BenchmarkRedisGet 50000 30185 ns/op

bench_1 | ok _/code 4.311s

About

Project to performance benchmark using mysql reader as a cache vs redis

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages