<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Kunal Chauhan: Writing</title>
    <link>https://www.kunalchauhan.dev/blog</link>
    <description>Engineering deep dives on system design, backend architecture, and AI.</description>
    <language>en</language>
    <atom:link href="https://www.kunalchauhan.dev/rss.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>AI Agents Are Just Loops (and That's Why They're Hard)</title>
      <link>https://www.kunalchauhan.dev/blog/ai-agents-explained</link>
      <guid isPermaLink="true">https://www.kunalchauhan.dev/blog/ai-agents-explained</guid>
      <pubDate>Thu, 12 Nov 2026 00:00:00 GMT</pubDate>
      <description>What an AI agent really is, how tool calling works, why small error rates compound, and the patterns that make agents reliable enough to ship.</description>
      <category>AI</category>
      <category>Agents</category>
      <category>System Design</category>
    </item>
    <item>
      <title>How LLM Inference Actually Works</title>
      <link>https://www.kunalchauhan.dev/blog/llm-inference-explained</link>
      <guid isPermaLink="true">https://www.kunalchauhan.dev/blog/llm-inference-explained</guid>
      <pubDate>Wed, 11 Nov 2026 00:00:00 GMT</pubDate>
      <description>Why generating text is memory-bound, what the KV cache is, and how batching, PagedAttention, quantization, and speculative decoding cut cost.</description>
      <category>AI</category>
      <category>Inference</category>
      <category>System Design</category>
    </item>
    <item>
      <title>RAG Explained: How Retrieval-Augmented Generation Really Works</title>
      <link>https://www.kunalchauhan.dev/blog/rag-explained</link>
      <guid isPermaLink="true">https://www.kunalchauhan.dev/blog/rag-explained</guid>
      <pubDate>Wed, 14 Oct 2026 00:00:00 GMT</pubDate>
      <description>How retrieval-augmented generation works: chunking, embeddings, hybrid search, reranking, and how to tell whether retrieval or generation is failing.</description>
      <category>AI</category>
      <category>RAG</category>
      <category>System Design</category>
    </item>
    <item>
      <title>Beyond URL Hashing: Deduplication That Actually Works at Scale</title>
      <link>https://www.kunalchauhan.dev/blog/miqps-url-deduplication</link>
      <guid isPermaLink="true">https://www.kunalchauhan.dev/blog/miqps-url-deduplication</guid>
      <pubDate>Fri, 15 May 2026 00:00:00 GMT</pubDate>
      <description>How Pinterest's MIQPS learns which URL query parameters change page content, so deduplication works when different URLs show the same page.</description>
      <category>System Design</category>
      <category>Backend</category>
      <category>Pinterest</category>
    </item>
    <item>
      <title>How Airbnb Stores 50 Million Metrics Per Second</title>
      <link>https://www.kunalchauhan.dev/blog/airbnb-metrics-storage-deep-dive</link>
      <guid isPermaLink="true">https://www.kunalchauhan.dev/blog/airbnb-metrics-storage-deep-dive</guid>
      <pubDate>Wed, 15 Apr 2026 00:00:00 GMT</pubDate>
      <description>A deep dive into the time series databases, ingestion pipelines, and compression behind Airbnb's 2.5 petabytes of metrics at 50 million samples per second.</description>
      <category>System Design</category>
      <category>Observability</category>
      <category>Backend</category>
    </item>
  </channel>
</rss>
