<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>Thoughts by Devesh Shetty</title><description>Thoughts on programming, and other things.</description><link>https://deveshshetty.com/</link><language>en-us</language><item><title>Three Ways Agent Systems Accidentally Kill Prompt Caching</title><link>https://deveshshetty.com/blog/three-prompt-cache-killers/</link><guid isPermaLink="true">https://deveshshetty.com/blog/three-prompt-cache-killers/</guid><description>Most prompt-cache misses I investigate come from deterministic bugs, not provider behavior, and they are usually fixable with a few strict invariants.</description><pubDate>Sat, 11 Apr 2026 00:00:00 GMT</pubDate></item><item><title>What If Neural Networks Don&apos;t Need Floating Point?</title><link>https://deveshshetty.com/blog/1-bit-inference-engine/</link><guid isPermaLink="true">https://deveshshetty.com/blog/1-bit-inference-engine/</guid><description>I built a ternary inference engine from scratch in C to find out how much of the floating point in a neural network is actually necessary.</description><pubDate>Sat, 28 Mar 2026 00:00:00 GMT</pubDate></item><item><title>The System That Made Shettys</title><link>https://deveshshetty.com/blog/the-system-that-made-shettys/</link><guid isPermaLink="true">https://deveshshetty.com/blog/the-system-that-made-shettys/</guid><description>&quot;Shetty&quot; isn&apos;t just a surname. It was a role in a village governance system that structured everyday life in coastal Karnataka for centuries.</description><pubDate>Fri, 06 Mar 2026 00:00:00 GMT</pubDate></item><item><title>One Goroutine Beats 64 (Until It Doesn&apos;t): Shared State, Queues, and Backpressure in Go</title><link>https://deveshshetty.com/blog/one-goroutine-beats-64/</link><guid isPermaLink="true">https://deveshshetty.com/blog/one-goroutine-beats-64/</guid><description>I built the same session store three ways to find out when a single-owner goroutine beats sync.Mutex, when it doesn&apos;t, and why unbounded channels cause outages</description><pubDate>Fri, 27 Feb 2026 00:00:00 GMT</pubDate></item><item><title>Commerce Doesn&apos;t Have a Protocol (Yet): Inside UCP</title><link>https://deveshshetty.com/blog/universal-commerce-protocol/</link><guid isPermaLink="true">https://deveshshetty.com/blog/universal-commerce-protocol/</guid><description>A first-principles look at the Universal Commerce Protocol, the attempt to give AI agents a standard way to buy things</description><pubDate>Mon, 23 Feb 2026 00:00:00 GMT</pubDate></item><item><title>Building HNSW From First Principles</title><link>https://deveshshetty.com/blog/hnsw-from-scratch/</link><guid isPermaLink="true">https://deveshshetty.com/blog/hnsw-from-scratch/</guid><description>I built a vector search index from scratch to understand why each piece exists, then tested when the hierarchy actually helps.</description><pubDate>Sun, 22 Feb 2026 00:00:00 GMT</pubDate></item><item><title>Building a Database on S3 in 2026: Revisiting a 2008 Paper</title><link>https://deveshshetty.com/blog/s3-database/</link><guid isPermaLink="true">https://deveshshetty.com/blog/s3-database/</guid><description>I rebuilt a 2008 S3 database paper with modern S3 primitives and about 1,800 lines of Go.</description><pubDate>Fri, 20 Feb 2026 00:00:00 GMT</pubDate></item><item><title>Object Storage as a Queue: When the Wrong Tool Is Right</title><link>https://deveshshetty.com/blog/object-storage-queue/</link><guid isPermaLink="true">https://deveshshetty.com/blog/object-storage-queue/</guid><description>How S3&apos;s consistency and conditional write primitives turn object storage into a surprisingly viable queue, and why companies like turbopuffer and WarpStream are betting on it</description><pubDate>Tue, 17 Feb 2026 00:00:00 GMT</pubDate></item><item><title>Building a Storage Engine: WAL, LSM Trees, and SSTables from Scratch</title><link>https://deveshshetty.com/blog/lsm-storage-engine/</link><guid isPermaLink="true">https://deveshshetty.com/blog/lsm-storage-engine/</guid><description>A hands-on guide to building a crash-safe key-value storage engine in Go, covering write-ahead logs, memtables, SSTables, bloom filters, and compaction</description><pubDate>Sun, 15 Feb 2026 00:00:00 GMT</pubDate></item><item><title>JA4 in the Wild: Signal, Drift, and Evasion</title><link>https://deveshshetty.com/blog/ja4-client-fingerprinting/</link><guid isPermaLink="true">https://deveshshetty.com/blog/ja4-client-fingerprinting/</guid><description>A defender- and privacy-focused guide to what JA4 is, how it is built, where it fails, and how to use it responsibly</description><pubDate>Sun, 08 Feb 2026 00:00:00 GMT</pubDate></item><item><title>Designing Throttles: Rate Limiting in Practice</title><link>https://deveshshetty.com/blog/rate-limiters-from-first-principles/</link><guid isPermaLink="true">https://deveshshetty.com/blog/rate-limiters-from-first-principles/</guid><description>A practical guide to designing throttles and rate limiters: goals, algorithms, architectures, and trade-offs</description><pubDate>Wed, 28 Jan 2026 00:00:00 GMT</pubDate></item><item><title>From 15 Seconds to 3: A Deep Dive into TensorRT Inference Optimization</title><link>https://deveshshetty.com/blog/tensorrt-deep-dive/</link><guid isPermaLink="true">https://deveshshetty.com/blog/tensorrt-deep-dive/</guid><description>How we achieved 5x speedup in AI image generation using TensorRT, with advanced LoRA refitting and dual-engine pipeline architecture</description><pubDate>Sun, 12 Oct 2025 00:00:00 GMT</pubDate></item><item><title>Optimizing PyTorch Inference Without Sacrificing Determinism</title><link>https://deveshshetty.com/blog/torch-compile-determinism/</link><guid isPermaLink="true">https://deveshshetty.com/blog/torch-compile-determinism/</guid><description>A practical guide to achieving 1.5-2x speedup on PyTorch pipelines while preserving run-to-run reproducibility</description><pubDate>Tue, 17 Dec 2024 00:00:00 GMT</pubDate></item></channel></rss>