Redis RDB vs AOF Is Really an RPO Decision
RDB and AOF are not just file formats. They encode how much acknowledged state you are willing to lose, how much persistence overhead you accept, and how recovery should work.
RDB and AOF are not just file formats. They encode how much acknowledged state you are willing to lose, how much persistence overhead you accept, and how recovery should work.
A production-engineering deep dive into waiting sessions tell me more than cpu during database contention, grounded in the 2014 Mac mini hserver observability stack and its accepted runtime evidence.
A producer can time out after XADD without knowing whether Redis accepted the entry. Redis 8.6 adds stream idempotency so retries can be recognized without creating duplicate entries.
Redis can remain responsive while silently evicting keys because the configured memory limit has been reached.
A production-engineering deep dive into redis eviction means policy is already affecting data, grounded in the 2014 Mac mini hserver observability stack and its accepted runtime evidence.
Consumer groups do not make a stream entry disappear when it is delivered. Until XACK succeeds, Redis tracks it as pending, which is what makes crashed-consumer recovery possible.
Redis Cluster spreads hash slots across shards, not one key across shards. A single extremely popular key can saturate the shard that owns it while the rest of the cluster is mostly idle.
Why dependency failures should be diagnosed as graph problems instead of pod problems.
A production-engineering deep dive into one postgresql deadlock is worth recording, grounded in the 2014 Mac mini hserver observability stack and its accepted runtime evidence.
A production-engineering deep dive into redis fragmentation can look like a memory leak, grounded in the 2014 Mac mini hserver observability stack and its accepted runtime evidence.
Redis replication is asynchronous by default. WAIT reduces the risk window, but replica acknowledgements do not turn Sentinel or Cluster failover into a strongly consistent system.
A production-engineering deep dive into postgresql connection utilization needs a denominator, grounded in the 2014 Mac mini hserver observability stack and its accepted runtime evidence.
How I interpret the current one-replica values and what changes when availability requirements grow.
Lua scripts and Redis Functions avoid races and network round trips by executing atomically on the server. The same property means long-running server-side code blocks unrelated work.
A mental model for separating deployment control from application traffic and background work.
Why an internal Redis service deserves explicit operational attention.
A longer browser cookie does not help if the server forgets the session behind it.
When Redis reaches maxmemory, the eviction policy decides which data may disappear or whether new writes should fail. That makes memory configuration part of application correctness.
Redis was useful for fast shared state in a SIP lab, but the important decision was which state belonged there and how the proxy behaved when it disappeared.
Allocator fragmentation, active pages, copy-on-write during forks, and persistence work can make process RSS diverge from the logical size of the Redis dataset.
A production-engineering deep dive into buffer hits, disk reads and the shape of postgresql cache pressure, grounded in the 2014 Mac mini hserver observability stack and its accepted runtime evidence.
Hash tags let related keys share one slot so multi-key commands and scripts can remain atomic. Overuse them and you can create hot slots that undo the cluster's distribution.
A production-engineering deep dive into a successful tcp connection does not mean the database is healthy, grounded in the 2014 Mac mini hserver observability stack and its accepted runtime evidence.
A production-engineering deep dive into temporary i/o is a query-behavior signal, grounded in the 2014 Mac mini hserver observability stack and its accepted runtime evidence.
Persistent SSO works better when ephemeral session state and durable identity-provider state are not confused.
How an internal service name is preferable to hard-coding pod identity.
A Redis instance serving disposable cache and one serving authentication sessions can show the same memory growth with very different operational risk.
When a popular key expires, many callers can observe the same miss and rebuild the value simultaneously. Stampede protection is admission control for the source of truth.
A production-engineering deep dive into four database engines on one small server: observability without exporter sprawl, grounded in the 2014 Mac mini hserver observability stack and its accepted runtime evidence.
A production-engineering deep dive into mysql slow queries belong in infrastructure monitoring, grounded in the 2014 Mac mini hserver observability stack and its accepted runtime evidence.