Skip to content

bless-stanford/compute-allocation-queues

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CS360 — queue allocation simulation (ECON 284 paper)

This repo contains a small, reproducible discrete-event simulation of a single-server “video embedding” pipeline with stochastic arrivals, heavy-tailed service times, heterogeneous users, and optional abandonment.

How to run

  1. Create an environment and install deps:
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
  1. Run the experiment (writes everything to ./outputs/):
MPLBACKEND=Agg python run_experiment.py --seed 123 --replications 30

Outputs

  • outputs/metrics.csv: one row per (regime, mechanism, replication)
  • outputs/summary_table.csv: aggregated means + 95% CIs
  • outputs/report.md: narrative summary (includes paste-ready paragraph)
  • outputs/*.png: plots

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages