crafted.data

Long-form articles on databases, cloud and DevOps, and AI. Written from real systems, with the code included, by Naveen Chandra.

Follow on Instagram

latest

A stream of scattered blue tokens flowing into a dial that routes them along three paths labelled Prompt, RAG and Fine-tune

AI

Fine-Tuning vs RAG vs Prompting: Which Fixes Which?

They aren't tiers on a power ladder. They're fixes for three different failure types, and naming the failure first mostly makes the choice for you.

26 Jun 202613 min read

Read the article
Databases

JSONB vs Separate Tables: When Normalisation Stops Paying

JSONB is one of the best reasons to pick Postgres, and one of the easiest places to park a modeling decision you don't want to make yet. The line between the two is crisper than most teams think.

19 Jun 202612 min read

Cloud & DevOps

Serverless vs Containers: The Honest Cost Comparison

It isn't Lambda versus Fargate as products. It's billing per execution versus billing for provisioned capacity, and the variable that decides between them is duty cycle.

12 Jun 202611 min read

Databases

Read Replicas vs Caching vs Both: The Decision Matrix

A replica adds capacity and a cache removes repeated work. Which one you need falls out of two questions about your traffic, and neither helps a primary that's bound by writes.

5 Jun 202612 min read

AI

How to Actually Evaluate an LLM in Production

Evaluating an LLM in production isn't a research problem. It's an engineering discipline, closer to regression testing and observability than to benchmarking.

27 May 202610 min read

Databases

Zero-Downtime Database Migrations: Patterns and Pitfalls

Zero-downtime migrations aren't a tool you buy or a flag you enable. They're a small set of patterns, applied with discipline, that let routine schema changes run at noon on a Tuesday.

21 May 202611 min read

Cloud & DevOps

AWS Services You're Paying For and Probably Don't Need

The instances aren't always the interesting part of an AWS bill. Cuttable spend often hides in defaults nobody chose: networking, log ingestion, cluster fees and resources billing while idle.

10 May 202612 min read

Databases

Indexing Strategies: When Each Index Type Actually Pays Off

Postgres ships six built-in index types, and each one is a bet on a specific access pattern. Here's the question each one answers, where it stops, and how to audit the indexes you already have.

29 Apr 202614 min read

Databases

When to Use Each AWS Database Service

The AWS console offers a managed database for every data shape. Treat it as a list of exceptions, not a menu: start on RDS Postgres and make every other engine earn its place with a measurement.

16 Apr 202613 min read

Databases

Database Choices That Quietly Kill Your AWS Bill

Database spend on AWS doesn't need one dramatic mistake to hurt. It can leak through a dozen small defaults that looked reasonable on the day and never got a second look.

4 Apr 202613 min read

Databases

Why Your RAG System Is Actually a Search Problem

Swap the model, rewrite the prompt, pile on examples: many RAG fixes start at generation. The problem often lives in retrieval, which information-retrieval research has been working on since the 1950s.

22 Mar 202610 min read

Databases

The Real Cost of an LLM Call vs a SQL Query

They aren't interchangeable tools with slightly different price tags. One is metered per token and writes its answer one token at a time; the other runs on capacity you already pay for. That gap should usually decide which one you reach for.

8 Mar 20268 min read

Databases

Most Teams Don't Need a Vector Database

Embeddings show up in a planning doc and a vector database appears on the diagram. Plenty of teams adding one don't have a vector problem yet. They have a Postgres instance and a reflex.

28 Feb 202611 min read

crafted.data

Get every new article, and the short versions too.

One email when a new deep-dive is out. Each article also gets a short video on Instagram.

Instagram

crafted.data

New deep-dives by email

One email when a new article is out: databases, cloud and AI, with the code. Unsubscribe in one click.

Email signups open soon. Until then, new articles are announced on Instagram.

Short videos too: crafted.data on Instagram