Blog
Longer technical posts and deep dives into software engineering topics.
6 articles
When Your Database Goes Down at 3 AM: A MongoDB War Story
December 28, 2025
How a full /var/log partition crashed MongoDB in production, what I learned about truncate vs rm, and the permanent fix using LVM.
Tags: #mongodb #linux #troubleshooting #devops #incident-response #lvm #xfs
Building a Smart Caching System That Cut AI API Costs by 85%
October 28, 2025
How I built an in-memory cache for llmswap that reduced repeat API calls from 3 seconds to 0.66 seconds using thread-safe LRU eviction.
Tags: #python #caching #performance #llm #api #threading #memory-management #optimization
Why Our Users Were Complaining About Slow Search (And How 4 Lines Fixed It)
October 05, 2025
How MongoDB indexes transformed our infrastructure search from 15 seconds to under 100ms, fixing customer complaints overnight.
Tags: #mongodb #performance #indexing #database #infrastructure #optimization
What I Learned Building a CLI That People Actually Use
September 15, 2025
Lessons from building llmswap’s command-line interface - from argparse chaos to a tool with 6000+ downloads.
Tags: #python #cli #argparse #ux #developer-tools
I Finally Stopped Alt-Tabbing to ChatGPT While Coding
September 04, 2025
How llmswap 4.1.1’s generate command changed my entire development workflow - AI assistance right in the terminal.
Tags: #ai #llm #developer-productivity #coding #cli-tools #openai #anthropic #workflow #terminal #llmswap #python #automation #infrastructure #devops #machine-learning #artificial-intelligence #software-engineering #programming #coding-tools #vim
From Hackathon to Open Source: Why I Extracted My LLM Switching Logic
August 30, 2025
How a hackathon project that didn’t win became a PyPI package with 6,000+ downloads in one month.
Tags: #hackathon #open-source #ai #llm #python #openai #anthropic #gemini #watsonx #ollama #pypi #developer-tools #infrastructure #rag #mcp #cli-tools #machine-learning #artificial-intelligence #software-engineering #devops #cloud-computing #openstack #programming #coding #tech-story #startup #innovation #python-package #api #chatbot #automation