Codifly / Developer library

From judgment to code.

Guides to build and run products: architecture you can reason about, deployments you can repeat and operations that survive a retry. Every guide cites the documentation behind it.

Latest

Read. Try. Decide.

APIs & storage · 5 min01

Direct Uploads to S3: Presigned URLs Without Exposing Your Files

A secure presigned URL upload flow for S3: server-side authorization, per-tenant keys, quarantine, and object validation before you publish.

Sep 8, 2026Read guide
Semantic search · 5 min02

Embeddings and RAG: Design Retrieval Before the Prompt

A practical RAG guide: chunking, per-tenant filters, measuring recall@k, and migrating vectors without mixing incompatible embedding models.

Sep 8, 2026Read guide
Applied AI · 5 min03

How to Choose an LLM for Production Without Relying on Leaderboards

Choose an LLM for production with a real eval set, cost per accepted task, p50/p95 latency, and a safe fallback for when the model fails.

Sep 8, 2026Read guide
Backend & data · 5 min04

PostgreSQL: Find the Right Index with EXPLAIN

Read a PostgreSQL EXPLAIN plan, design a composite index for a real query, and add keyset pagination without breaking tenant isolation.

Sep 8, 2026Read guide
Distributed systems · 5 min05

Queues, Retries, and Idempotency: Stop Processing Messages Twice

Build idempotent queue consumers that survive duplicate messages, crashes between commit and ack, and poison messages without infinite retry loops.

Sep 8, 2026Read guide
Infrastructure as code · 9 min06

OpenTofu vs Terraform: When to Migrate Without Breaking Your Infra

Terraform and OpenTofu have diverged. When to switch, when to stay on HCP Terraform, and how to migrate one workspace at a time with an empty plan as proof.

Jun 8, 2026Read guide
By topic

The whole library