Notes on backend systems, Laravel, and building things that hold up at scale.
Set up incoming forwarding and authenticated outgoing SMTP using Cloudflare Email Routing, Gmail, and SMTP2GO — eliminating VPS mail server overhead.
PHP-FPM couldn't hold persistent connections at exchange scale. Octane's long-running worker model changed the math.
How a general-purpose tagging package hits sub-100ms p99 latency at a million tags per model, and the indexing tricks that got it there.
FIX is session-based and human-readable; ITCH is a raw binary multicast feed. Here's how we normalized both into one order lifecycle.
Why I built laravel-ai-translator - generate missing translation strings once via the Gemini API, cache them to disk, and never call the API again.
Adding embedding-based search to an existing PostgreSQL database instead of standing up a dedicated vector store.
Both can move messages between services. They fail very differently when something goes wrong.
Memory climbed steadily over 6 hours until the worker OOM'd. The culprit wasn't the sockets - it was an event listener.
Integrating field sensors over unreliable, metered cellular links meant designing for disconnection as the default state. Here is how we tuned MQTT QoS, keep-alive timers, and binary payloads.
"Online" and "offline" turned out to be a much fuzzier line than the protocol suggests once real networks get involved.
Open-source OCR is free and private but struggled with complex Bangla script in ways hosted models didn't. Here is how we built a hybrid fallback pipeline.
A straightforward blue-green rollout on a single VPS, without needing Kubernetes to get there.
It's rarely throughput. It's almost always a slow job holding a worker hostage while the queue behind it backs up.
Three services in three languages, one docker-compose.yml, and the small decisions that kept local dev matching production.