Skip to content

seth-epps/benchmark_mysql_redis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

startup

data stores

Start redis and mysql with docker compose up -d

bootstrap mysql table

❯ mysql --host 127.0.0.1 --port 3306 --user admin -pfoobar < db/bootstrap/bootstrap.sql

app

❯ pyenv virtualenv 3.9.6 benchmark_redis_mysql
❯ pyenv activate benchmark_redis_mysql
❯ pip install -r requirements.txt
❯ pip install -e .
❯ FLASK_RUN_PORT=5000 FLASK_APP=app/server flask run

Run benchmark

❯ pyenv activate benchmark_redis_mysql
❯ pip install -r benchmark/requirements.txt
❯ python benchmark/run.py

Histogram

after running the benchmark

❯ python benchmark/histogram.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages