Engineering Blog

Deep dives, system design, and lessons from building commerce infrastructure at scale. By the engineers at devx.

Your Server Responds in 200ms. Your Users Wait 6 Seconds. Here's Why.
performanceweb vitalsjavascript

Your Server Responds in 200ms. Your Users Wait 6 Seconds. Here's Why.

SPAs moved rendering to the client. Here's what that costs on real mobile hardware, which metrics actually matter, and how to fix the bottleneck.

Abhishek Kumbhani
Abhishek K.·Apr 1, 2026·15 min read
Building a Crash-Proof Migration Pipeline for 35 TB
cloud migrationdeduplicationobject storage

Building a Crash-Proof Migration Pipeline for 35 TB

How one engineer moved 5.6 million files across cloud providers, eliminated 60% duplicate storage, and made every CDN URL unguessable with UUID-based path transformation.

Meet Vaghani
Meet Vaghani·Apr 1, 2026·10 min read
Your Next.js Repo is a Mess. Here's How to Fix It.
nextjsarchitectureapp router

Your Next.js Repo is a Mess. Here's How to Fix It.

Next.js leaves internal structure entirely up to you. Here's the folder guide I wish existed: from solo project to multi-team monorepo, with reasons.

Abhishek Kumbhani
Abhishek K.·Apr 1, 2026·18 min read
Why We Use Pimcore for Complex Data Architectures
pimcoredata managementproduct information management

Why We Use Pimcore for Complex Data Architectures

Most enterprise systems scatter product data, assets, and content across five different tools. Here is how Pimcore collapses that into one governed platform.

Nayan Asalaliya
Nayan Asalaliya·Apr 1, 2026·8 min read
The Programmer's New Moat: Understanding the Business
domain knowledgeai engineeringsystem design

The Programmer's New Moat: Understanding the Business

AI writes working code in minutes. It also gets the architecture wrong. I share two real enterprise projects where business knowledge caught what AI missed.

Bhagyashree .S. Bothra Jain
Bhagyashree J.·Mar 28, 2026·8 min read
Stop Building Ecommerce Admins From Scratch
medusaecommerceadmin dashboard

Stop Building Ecommerce Admins From Scratch

Every ecommerce team wastes weeks rebuilding the same admin primitives. Medusa Admin gives you all of them on day one — open source, responsive, yours to own.

Chirag Suthar
Chirag Suthar·Mar 26, 2026·7 min read
How a Frustrating Night Shift Led Me to Build pricex
shopifypricingai

How a Frustrating Night Shift Led Me to Build pricex

I was manually updating prices across 10 Shopify markets every week. One bad night pushed me to build something better.

Aditya Pasikanti
Aditya P.·Mar 26, 2026·6 min read
Stop Scattering Analytics Across Your Codebase
analyticsnextjstypescript

Stop Scattering Analytics Across Your Codebase

Our analytics code was duplicated across 15 files, inconsistent across 6 providers, and impossible to debug. Here's the dispatch pattern that lets new devs ship events in 15 minutes.

Rohan Patel
Rohan Patel·Mar 25, 2026·10 min read
Domain-Driven Lambda Architecture That Scales
aws lambdadomain driven designserverless

Domain-Driven Lambda Architecture That Scales

How we restructured a growing Lambda codebase from flat files into a domain-driven architecture with handler, controller, service layers, Zod validation, and auto-generated scaffolding.

Jaimin Malaviya
Jaimin Malaviya·Mar 19, 2026·17 min read
Monorepos: The Architecture That Changes How Teams Ship Software
monorepoturborepodeveloper experience

Monorepos: The Architecture That Changes How Teams Ship Software

A version mismatch in a shared auth library caused a 3-hour production incident. Here's the monorepo architecture (workspaces, Turborepo task graphs, remote caching) that makes that class of problem impossible.

Prince Saliya
Prince Saliya·Mar 19, 2026·11 min read
How We Built a Snowflake-Style ID Generator in PostgreSQL
postgresqlid generationbackend

How We Built a Snowflake-Style ID Generator in PostgreSQL

We replaced UUID with a custom 64-bit time-ordered ID generator in PostgreSQL for our ecommerce platform. Here's the SQL and the trade-offs.

Milan Ghoghari
Milan Ghoghari·Mar 18, 2026·6 min read
Feature Flags: Deploying Code Safely in Production
feature flagsdeploymentcontinuous delivery

Feature Flags: Deploying Code Safely in Production

Learn how feature flags let you ship code to production without exposing it to users — enabling safer rollouts, instant rollbacks, and A/B testing.

Darshak Kakadiya
Darshak K.·Mar 17, 2026·8 min read
Your AI Tools Are Leaking Your Data
ai securitydata privacyllm security

Your AI Tools Are Leaking Your Data

A friend's team pasted order data into ChatGPT and leaked it. Data sent to AI tools is sensitive. Here is what engineering teams should actually do about it.

Piyush Jain
Piyush Jain·Mar 16, 2026·10 min read
React Native + AI: The Context Layer Most Developers Are Missing
react nativeclaude codeclaude md

React Native + AI: The Context Layer Most Developers Are Missing

AI's accuracy gap in React Native is real and structural. You can't prompt your way past it. Write CLAUDE.md before you write code — that context layer compensates.

Shruti Jasoliya
Shruti Jasoliya·Mar 14, 2026·6 min read
Build vs Buy: Replacing a $300/Month Reviews Tool
build vs buyecommerceshopify

Build vs Buy: Replacing a $300/Month Reviews Tool

A D2C skincare brand outgrew their reviews SaaS. We built a custom Lambda + PostgreSQL replacement in one week: 80% cheaper, sub-100ms responses, fully owned.

Ayushya Patel
Ayushya Patel·Mar 14, 2026·15 min read
How We Cut API Response Time by 10x
redis cachingcache invalidatione commerce api

How We Cut API Response Time by 10x

Our API stitched data from Shopify and Strapi on every request. During sales, it buckled. Here is how we built a pre-assembled cache that serves full responses in under 100ms.

Jaimin Malaviya
Jaimin Malaviya·Mar 14, 2026·12 min read
MicroVMs: A New Paradigm in Virtualization Technology
kubernetesdockerdevops

MicroVMs: A New Paradigm in Virtualization Technology

MicroVMs combine the speed of containers with the strong isolation of VMs, offering lightweight, secure, and efficient compute for modern cloud-native workloads.

Naisarg Parekh
Naisarg Parekh·Mar 14, 2026·7 min read
Stop Splitting Blindly: How Semantic Chunking Fixed Our RAG Pipeline
ragsemantic chunkingembeddings

Stop Splitting Blindly: How Semantic Chunking Fixed Our RAG Pipeline

Character-based chunking destroyed our policy retrieval accuracy. Section-aware semantic chunking brought it back. Here is exactly how we built it.

Vasu Chapadia
Vasu Chapadia·Mar 14, 2026·14 min read
I Grew Up With AI. Then I Found Compound Engineering.
claude codecompound engineeringshopify

I Grew Up With AI. Then I Found Compound Engineering.

I started coding with AI from day one. Two years later, I realized I was doing it wrong. Here's the framework I built to fix it.

Aditya Pasikanti
Aditya P.·Mar 13, 2026·10 min read
Expo vs Bare React Native: Performance Trade-offs
react nativeexpoperformance

Expo vs Bare React Native: Performance Trade-offs

Choosing between Expo and Bare React Native? We compare cold start times, bundle sizes, native module flexibility, and developer productivity.

Utsav Dholiya
Utsav Dholiya·Mar 13, 2026·9 min read
Your Data Is Everywhere. Your Answers Are Nowhere.
pimcoremaster data managemententerprise data

Your Data Is Everywhere. Your Answers Are Nowhere.

Enterprises lose nearly 25% of every workday to searching for scattered data. We break down how Pimcore brings products, assets, and documents under one roof.

Bhagyashree .S. Bothra Jain
Bhagyashree J.·Mar 13, 2026·10 min read
Models Generate Answers. Context Creates Intelligence.
aicontext engineeringllms

Models Generate Answers. Context Creates Intelligence.

Why the intelligence of modern AI systems comes less from the model itself and more from how we design and structure the context around it.

Karan Desai
Karan Desai·Mar 13, 2026·6 min read
Demystifying Microfrontend Architecture: Everything You Need to Know
MicrofrontendWebpackModule Federation

Demystifying Microfrontend Architecture: Everything You Need to Know

One giant frontend app. Multiple teams. Constant merge conflicts. Sound familiar? This complete guide to Micro Frontend architecture covers the what, why, how, and when-not-to — with code examples, comparison tables, and an honest take on whether your e-commerce app needs one.

Prateek Vijayvergiya
Prateek V.·Mar 12, 2026·15 min read
The Todo App Is Dead. Long Live the Todo App.
ai engineeringcrud apimental model

The Todo App Is Dead. Long Live the Todo App.

The todo app taught every developer CRUD, REST, and state management. That mental model is now obsolete. Here is what replaced it.

Brijesh Agarwal
Brijesh Agarwal·Mar 12, 2026·7 min read
I Analyzed 165.9 Million Tokens to Understand How Claude Code Actually Works
claude codetoken analysisai internals

I Analyzed 165.9 Million Tokens to Understand How Claude Code Actually Works

A deep dive into Claude Code's internal architecture - real JSONL session data, 165.9M tokens, multi-model routing, and why 97% of all tokens are cache reads.

Vishal Makwana
Vishal Makwana·Mar 10, 2026·15 min read
One Engineer. A Full AI Engineering Team.
webglglslthree js

One Engineer. A Full AI Engineering Team.

I built a 3D diamond ring configurator — 139,968 variants, physically accurate ray bouncing, real chromatic dispersion — using Claude Code, Manus, and ChatGPT as my engineering team.

Hatim Lukmani
Hatim Lukmani·Mar 9, 2026·10 min read
A Mental Model for Claude Code: Skills, Subagents, and Plugins
claude codeai developer toolssubagents

A Mental Model for Claude Code: Skills, Subagents, and Plugins

How a 150-person engineering shop went from AI tool fragmentation to a shared mental model for Claude Code: skills, subagents, and what's next.

Brijesh Agarwal
Brijesh Agarwal·Mar 8, 2026·8 min read
Horses for Courses: Why Tool Selection Beats Tool Mastery
androidai toolskotlin

Horses for Courses: Why Tool Selection Beats Tool Mastery

Stop looking for the 'best' AI coding assistant. Strategic tool switching saved us 5 weeks on a full-stack 3D platform.

Dhruv Parekh
Dhruv Parekh·Mar 1, 2026·8 min read
EngineeringCulturedevx

Hello, devx Engineering Blog

Introducing the devx Engineering Blog - a space where we document the real problems we solve, the systems we build, and the lessons we learn along the way.

Brijesh Agarwal
Brijesh Agarwal·Feb 28, 2026·3 min read