Releases: wh1le/ruby-at-scale
Releases · wh1le/ruby-at-scale
v0.1.1 Boundary Burst
What's New
- Rate Limiter — Atomic sliding window rate limiting with Redis Lua script
- Non-atomic variant — Demonstrates the race condition (ZCARD/ZADD gap)
- Modular Sinatra controllers —
ReportsController,RateLimitController - sinatra-activerecord — Rake tasks for DB management
- RSpec specs — Unit/integration tests for all components
- System tests — Interactive bash scripts with progress output
- CI — GitHub Actions (rubocop + rspec)
Blog
Boundary Burst: The Rate Limit Problem Nobody Catches
Full Changelog: v0.1.0...v0.1.1
v0.1.0 Thundering
Markdown# Ruby at Scale v0.1.0 "Thundering"
First public release.
This initial version introduces the Cache Stampede (Thundering Herd) challenge.
It is of the most common performance killers in high-traffic Ruby applications.
What's included:
- Cache Stampede problem + test harness
- Solution
- Redis + PostgreSQL setup
- System test
Start learning how to handle real production-scale problems.
Next up: Rate Limiting challenge.
Try it:
bin/setup
bin/server
test/ruby_at_scale/cache_stampede_test