Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

NextFire-PolyMTL/log8415-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

log8415-project

Setup

Prerequisites:

  • Python 3.12 and Poetry
  • AWS credentials configured in ~/.aws/credentials
  • Learner Lab's private SSH key copied to labsuser.pem at the project root (+ chmod 600)
# Create the venv
poetry install

# Copy and edit secrets
cp src/common/secrets.example.py src/common/secrets.py
$EDITOR src/common/secrets.py

Deploy

# Deploy one of the three architectures
poetry run python3 -m standalone
poetry run python3 -m cluster
poetry run python3 -m patterns

Benchmark

Prerequisites:

  • standalone or cluster deployment
  • sysbench
./tools/benchmark.sh <mysql_host> <mysql_user> <mysql_password> <mysql_db>

Cleanup

Terminate all project AWS resources.

poetry run tools/cleanup.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published