All posts / tag
#ruby
-
Redis keys need owners
Raw Redis locks and claims had no shared owner, expiry, or failure rule. A small registry made every coordination key reviewable and operable.
-
What concurrent Ruby looks like, twelve years after the book
A cache benchmark stayed serial as thread count rose. I traced the Ruby runtime, then tested where mutexes, Ractors, fibers, and snapshots help.
-
Debugging Redis::CannotConnectError in Ruby
Redis timeouts arrived in short bursts while infrastructure stayed healthy. One Ruby client path rebuilt the connection and dropped its configured timeout.