Guides & case studies
Notes from 15+ years of building software
Practical write-ups on AI agents, self-hosted LLMs, serverless, runtimes and lean JavaScript, written from production experience.
Build an MCP server in Node.js for internal tools
How to build a secure MCP server in Node.js that connects Claude or a self-hosted LLM (Ollama, llama.cpp) to your internal tools, APIs and data.
Read guide → Lean softwareLess code = more: reducing npm dependencies
A practical guide to cutting npm dependencies in Node.js and front-end apps: audit, replace packages with native APIs, and lower supply-chain risk in the AI era.
Read guide → RuntimesBun vs Node.js in production: when I choose each
Bun vs Node.js for production apps: speed, compatibility, tooling and migration risks, with a practical decision checklist from a senior engineer.
Read guide → Serverless & AWSAWS Lambda cost optimization: Node.js, Rust and arm64
Cut AWS Lambda costs: switch to arm64 (Graviton), right-size memory, slim Node.js bundles, and move hot paths to Rust for faster cold starts and lower bills.
Read guide → Algorithmic tradingTrading bot architecture: low latency and testing
How to architect a low-latency trading bot: event-driven market data, in-memory state, risk controls, and testing with backtests, replay and paper trading.
Read guide → Browser storagelocalStorage done right: a safe 30-line wrapper
Use localStorage safely: a dependency-free wrapper with expiration, versioning, quota-error handling and cross-tab sync, plus when to switch to IndexedDB.
Read guide → Browser storageOPFS vs IndexedDB: a benchmark you can run yourself
OPFS vs IndexedDB for heavy browser storage: how they differ, when to use each, and a live benchmark that measures both in your own browser.
Read guide → Case studyPrivate AI translation with self-hosted LLMs
Ollama, llama.cpp, Node.js, Vue 3 and AWS: AI translation where documents never leave your infrastructure.
Read case study →