log in
consulting hosting industries the daily tools about contact
· 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 →
· 7 min read · MariaDB

MariaDB thread pools: what max_connections can't save you from

Raising max_connections feels like the right fix for connection exhaustion. It isn't. Here's what actually works under burst traffic.

Raising is the first thing everyone does when MariaDB starts rejecting connections under load. It's also mostly wrong, and I've watched it make things worse on more than one client server. The real fix is the thread pool, and understanding why changes how you think about database capacity entirely. The situation that…

Read the daily →
· 5 min read · Twilio

Twilio Status Callbacks: What 'delivered' Actually Means

Twilio will tell you a message was delivered. That doesn't mean anyone read it. Here's how I build a real audit trail in Laravel.

Twilio's message status callbacks look simple until a client asks you to prove that a patient received their appointment reminder and you realize 'delivered' just means the carrier accepted the message, not that any human saw it. I learned this distinction the hard way on a healthcare project, and it changed how I…

Read the daily →
· 5 min read · Laravel Horizon

Laravel Horizon: Size Workers by Memory, Not Queue Depth

Most teams tune Horizon by tweaking numProcesses and call it done. The pmset memory config is where the real sizing lives, and almost nobody touches it.

Most teams ship Horizon with the default config, bump when queues back up, and consider the job done. That worked fine until I had a queue worker OOM-kill itself mid-job and corrupt a batch of records for a healthcare client. That's when I started actually reading what in the supervisor config does - and realized I'd…

Read the daily →