#cloudflare

6 results

Explainer

RAG's Five Stages: From Pipeline to Reasoning Retrieval, and the Naive RAG on My Own Site

Over the past two years RAG evolved from a 'linear pipeline' to 'loop-based reasoning'. It maps cleanly to five stages: Naive, Advanced, Modular, Graph, Agentic. The real inflection point is control moving from pipeline to agent — a System 1 → System 2 shift. Looking back at engineer-news's own RAG stack, it's stuck at the Naive edge — so this post also lays out what to fix next.

Deep Dive

Building a Real RAG: 5 Infra Lessons from InfiniFlow's 2024 Year-in-Review

The previous post zoomed out for a five-stage panorama of RAG. This one zooms in on the five infra lessons any real RAG has to face: document ingestion, contextualized chunking, three-lane hybrid search, tensor reranker, and GraphRAG's semantic gap. Each lesson is checked against engineer-news's current stack, ending with a priority list for a personal site.

Case Study

a920604a Labs: A Dual-Cloud Full-Stack Playground Integrating Four Tools with a pnpm Monorepo

A pnpm monorepo integrating four tool SPAs: a to-do list, a habit tracker, an ebook reader, and a resignation stamp collector. apps/root is the sole build entry point; the four modules are library-only workspace packages bundled together by root's Vite, sharing @a920604a/auth and @a920604a/ui, deployed across Firebase + Cloudflare dual cloud.

What Tools This Blog Is Built With

Astro handles static rendering and content management, Cloudflare Pages/Workers handle deployment and dynamic APIs, D1 provides lightweight data storage, Vectorize + Workers AI power RAG semantic search, and R2 stores OG images and TTS audio. The entire pipeline — from YouTube crawl to user search — runs inside the Cloudflare ecosystem.