Writing & Thinking

Ideas Worth Shipping.

Technical writing on performance engineering, Next.js, Shopify development, system design, and the messy reality of building software at scale.

9 articles

All

8 articles
Aerial view of congested multi-lane highway traffic at dusk.
Web Performance·Jun 14, 2026

The fastest third-party script is the one that never runs

The HTML was fast and the page still felt broken. A war story about third-party embeds wrecking LCP and TBT, and the lazy-load and facade patterns that fixed it.

PerformanceCore Web VitalsJavaScript+2
Miracle KaluMiracle Kalu
A clean diagram showing data flowing from server to browser in a modern React application.
Frontend Architecture·Jun 13, 2026

Stop Using useEffect for Data Fetching: A Senior Engineer's Guide to Server Components

Why server-side fetching should be your default in Next.js App Router, when client fetching still wins, and how to migrate without a big-bang rewrite.

ReactNext.jsServer Components+2
Miracle KaluMiracle Kalu
A glowing network of connected nodes representing vector embeddings and semantic similarity.
AI Engineering·Jun 13, 2026

Building a Related-Articles Engine with Vector Embeddings: A Production-Ready Design

How we replaced tag-based recommendations with a cached vector-embedding pipeline, and the production trade-offs we learned the hard way.

Vector embeddingsRecommendationsRedis+2
Miracle KaluMiracle Kalu
A developer typing a structured prompt into an AI coding assistant on a clean desk.
AI Engineering·Jun 13, 2026

The Art of the One-Shot Prompt: How I Get Useful First Drafts on the First Try

A senior engineer's framework for writing one-shot prompts that produce solid first drafts and cut review rounds in half.

Prompt engineeringAI-assisted codingTypeScript+2
Miracle KaluMiracle Kalu
Rows of server racks in a modern data center with blue lighting
Performance Engineering·Jun 13, 2026

How we cut LCP from 4.5s to under 2.5s on a Next.js 16 editorial site

Fixing a 4.5s LCP on a Next.js 16 editorial site. We replaced a video player with a facade, fixed server rendering, and tuned Cloudflare caching. Lighthouse rose from 79 to 90s.

Next.jsCore Web VitalsCloudflare+3
Miracle KaluMiracle Kalu
Abstract visualization of flowing data through a distributed event-driven pipeline
Software Architecture·Jun 13, 2026

Event-Driven Architecture in Production: Lessons from a High-Throughput Order Pipeline

Real-world lessons from migrating a monolithic order processor to an event-driven pipeline handling millions of events per day.

event-driven architecturedistributed systemsmicroservices+2
Miracle KaluMiracle Kalu
shopify
Shopify Development·May 25, 2026

Custom Shopify Themes vs Pre-Built Templates: What Your Business Actually Needs

Should businesses invest in a custom Shopify theme or start with a premium template? This article breaks down the real tradeoffs beyond marketing hype.

Shopify EcommerceLiquid+1
Miracle KaluMiracle Kalu
lcp-image
Performance Engineering·May 11, 2026

How I Reduced LCP from 5s to Under 1 Second on a 10M-User Platform

A practical breakdown of how we reduced Largest Contentful Paint from over 5 seconds to under 1 second on a high-traffic platform serving millions of users monthly.

Web PerformanceCore Web VitalsReact+2
Miracle KaluMiracle Kalu