Skip to main content

Peter's Tech Notes

Backend engineering learning notes covering AWS, JavaScript/TypeScript, Kubernetes, Monitoring, Database, Python, Keycloak, and more.

About These Notes

My background is primarily Python development, so many notes use Python code as analogies to build intuition quickly. These notes aren't meant to be official documentation — they're written so that "past-me who only wrote Python" can understand things fast.

Sections

SectionContent
AWSDynamoDB, SQS, EC2 vs fully managed services, NAT Gateway vs Transit Gateway
Design PatternMonorepo, Singleton, design patterns, and repo organization strategies
JavaScript / TypeScriptModule system, async/await, connection pool, EventEmitter
Kubernetes & DockerIngress & Service, Workload types, Storage, CronJob, observability, Docker & NVIDIA GPU
MonitoringPrometheus, VictoriaMetrics, Thanos, AMP centralized monitoring, local docker-compose stack
DatabaseAlembic, SQLAlchemy ORM, SQLite → PostgreSQL migration, PostgreSQL notes
PythonContext Manager, Python syntax and usage notes
KeycloakHttpOnly Cookie, Refresh Token, SSO Session, RBAC design
Linuxchmod permissions
FFmpegVideo compression commands and parameters
MCPModel Context Protocol usage notes