All posts / tag
#redis
-
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.
-
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.
-
Dynamic per-user Rails debug logs, scoped to the request
One user could reproduce a production bug. A request-scoped Rails override captured their debug logs, expired on its own, and left other traffic alone.