Skip to content

Releases: wh1le/ruby-at-scale

v0.1.1 Boundary Burst

20 May 12:30

Choose a tag to compare

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 controllersReportsController, 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

20 May 08:41

Choose a tag to compare

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