This repository contains small example components for system design experiments (web servers, databases, caching, rate limiters, load testing, and media samples).
Layout
web-servers/— sample Flask app, Dockerfile, and nginx examples.databases/— Postgres and MongoDB compose files.caching/— Redis compose and cache notes.rate-limiters/— documentation and pointers to examples.load-testing/— k6 scripts for testing.media/— sample WebVTT and media assets.infra/— terraform files and infra notes.
Quick setup
-
Optionally run the provided organizer script (moves files from
files/into the new folders):chmod +x scripts/organize.sh ./scripts/organize.sh
-
Use Docker Compose files from the relevant folders to start services for local testing.
Notes
- These are small examples intended for educational/demo purposes. Review and harden before using in production.