log in
consulting hosting industries the daily tools about contact
· 6 min read · Redis

Redis eviction will silently eat your sessions and you won't know why

If you're running Redis on a shared VM with maxmemory-policy set to volatile-lru, your session data is not safe. I learned this the hard way.

Running Redis as both your cache and your session store on the same instance is extremely common. It's also a quiet trap that will eventually log users out at random, corrupt job queues, or drop rate-limit counters — and it will do it in a way that leaves almost no trace in your logs. I hit this on a Laravel…

Read the daily →
· 5 min read · Docker Compose

depends_on Won't Save You: Docker Compose Healthcheck Ordering

depends_on doesn't wait for your database to be ready — it waits for the container to start. That gap has burned me more than once.

Every few months I onboard a new project or spin up a client's existing stack, and within ten minutes I've hit the same silent footgun: the app container starts, tries to connect to Postgres, fails, and either crashes or — worse — silently skips migrations and limps along in a broken state. The culprit is almost…

Read the daily →
· 7 min read · Single-VM Architecture

The Signals That Say Your Single VM Is About to Buckle

By the time your server tells you it's out of headroom, you're already on fire. Here's what to watch before that moment.

I've run more single-server stacks than I can count, and the failure mode is always the same: everything looks fine until it isn't, and by the time a metric pegs 100% you're already explaining an outage to a client. The trick is reading the signals two or three weeks before that moment. This isn't a post about…

Read the daily →
· 6 min read · Server-Rendered HTML

Livewire Polling, SSE, or WebSockets: Stop Defaulting to the JS Stack

Before you reach for React and a WebSocket server, ask whether your real-time UI actually needs any of that. Usually it doesn't.

Every time a client asks for a "live" dashboard, I watch the same reflex kick in on every team that hasn't shipped a lot of these: reach for React, add a WebSocket server, wire up Socket.io, and suddenly a three-day feature is a three-week infrastructure project. I've been that person. I'm not anymore. The real…

Read the daily →
· 5 min read · Deployment Rollback

The Rollback Conditions Nobody Writes Until 3am

Automated rollback sounds easy until production is on fire. Here's the actual condition logic I use to catch bad Laravel deploys before users do.

Every team I've talked to has automated deploys. Almost none of them have automated rollbacks. They have a rollback command — , swap the symlink, — but the part that decides to run it is a tired engineer squinting at Slack at 3am. That's not automation. That's a pager. I've been burned enough times that I finally sat…

Read the daily →