log

Public archive of articles in my readlist.

The Saga Pattern: Distributed Transactions Without 2PC/Anirudh Sharma

Why two-phase commit fails in production, and how sagas use compensating transactions to build reliable cross-service workflows without distributed locking.

by Anirudh Sharma
How we built saga rollbacks for Cloudflare Workflows/blog.cloudflare.co…

Cloudflare Workflows, our durable execution engine for multi-step applications, now supports saga-style rollbacks, allowing developers to specify a compensating action for each step.do().

Event Sourcing: When, Why, and How (and When Not To)/Anirudh Sharma

Event sourcing is cool, until it isn't. Store events, not state but only when it makes sense.

by Anirudh Sharma
Prompts Shouldn’t Be Tested by Eye. Measure Them Properly/swmansion.com

When prompts reach production, “looks good” stops being good enough. Learn about prompt engineering and how to get the most from it.

How Discord Indexes Trillions of Messages/discord.com

Learn how Discord scaled its search infrastructure to index trillions of messages and unlock new features.

Database School/databaseschool.com

Database School is the best place to learn, understand, optimize, and confidently use databases.

Understanding Attention in LLMs/bartoszmilewski.co…

There are many excellent AI papers and tutorials that explain the attention pattern in Large Language Models. But this essentially simple pattern is often obscured by implementation details and optimizations. In this post I will try to cut to the essentials. In a nutshell, the…

How Free AI Video Upscaler uses WebGPU + WebCodecs to serve 250k MAU with zero server costs  |  web.dev/web.dev

Learn how Free AI Video Upscaler uses WebGPU and WebCodecs to serve 250k MAU with zero server costs.

Quantization from the ground up | ngrok blog/Sam Rose

A complete guide to what quantization is, how it works, and how it's used to compress large language models

by Sam Rose
WebCode: Search Evals for Coding Agents/Exa Labs

How do you measure retrieval quality for the increasingly complex ecosystem coding agents consume from?

by Exa Labs
How prompt caching works - Paged Attention and Automatic Prefix Caching plus practical tips/sankalp.bearblog.d…

A deep dive into prompt caching - practical tips to improve cache hits and how vLLM's paged attention enables KV-cache reuse across requests via automatic prefix-caching

Building a High-Performance Distributed Search System for 10,000 QPS./Devanshusharma

Building a High-Performance Distributed Search System for 10,000 QPS. During my internship days at cal.com, I discovered a real passion for distributed systems, databases, and learning Golang. The …

by Devanshusharma
Boris Tane/boristane.com

Coding agents didn't make poor engineers dangerous. They made them unstoppable.