Reading

Deep reads

Section-by-section takeaways from 7 newsletters (ByteByteGo, Daily Dose of DS, Berkeley RDI, ExplainThis, Latent Space, The Batch, DataTalks.Club Weekly); 228 articles in the last 120 days, 82 of them from ByteByteGo.

ByteByteGo 2026-09-03 Original ↗
How Databases Keep Their Sanity with Concurrency Control

Concurrent database transactions operating on the same records can cause silent data corruption even when individual transactions execute without errors. An example scenario shows two overlapping withdrawals failing to deduct the expected total amount due to race conditions. Because overlapping transactions are a standard operating condition in databases rat…

ByteByteGo 2026-09-02 Original ↗
Why Your RAG System Is Only as Good as Its Translator Model

Generic language models lack access to proprietary, updated, or internal enterprise data, and continuous retraining is technically cost-prohibitive. Retrieval-Augmented Generation (RAG) resolves this by separating the generation capability of a language model from external knowledge retrieval. RAG processes documents in an indexing phase by chunking and embe…

ByteByteGo 2026-09-01 Original ↗
How to Shrink a Language Model Without Making it Too Dumb

Large language models derive their capabilities primarily from massive collections of numerical weights rather than traditional programmatic rules. For instance, a 70-billion-parameter model requires around 140 GB of storage, with weights structured into matrices distributed across dozens of layers. While supporting components like the Transformer architectu…

ByteByteGo 2026-08-31 Original ↗
What Happens Inside an AI Chatbot Between Enter and the First Word?

User queries are not sent directly to large language models in isolation; instead, an assembled document containing system prompts, tool definitions, memory, retrieved documents, and conversation history is provided. Managing what goes into this input and how it is structured is an essential discipline known as context engineering. Because models possess fin…

ByteByteGo 2026-08-27 Original ↗
Background Work: From Cron Jobs to Distributed Systems

Handling all processing tasks synchronously during a user request path can degrade user experience by causing noticeable delays. Background work addresses this problem by moving resource-intensive and secondary tasks, such as image manipulation and distribution, outside the active request flow. Tasks executed in the background can be triggered by user intera…

ByteByteGo 2026-08-26 Original ↗
How to Make LLMs 3X Faster

Text generation in language models operates autoregressively, producing content one token at a time through sequential forward passes across all model layers. Because each new token strictly depends on the presence of all previous tokens, forward passes cannot be executed simultaneously without breaking coherence. Consequently, total generation duration equa…

ByteByteGo 2026-08-25 Original ↗
How to Steal an AI Model’s Private Thoughts

Modern frontier models produce an extended internal sequence of text prior to outputting a visible response, allowing them to explore hypotheses and correct errors. This internal sequence is referred to as a reasoning trace or chain of thought. Unlike the final polished output, the reasoning trace holds raw tool outputs, intermediate exploration, and any sen…

ByteByteGo 2026-08-24 Original ↗
Why Code Verification Matters More Than Ever in the Age of AI

Recent empirical studies reveal that while AI coding tools increase code production, they can negatively impact development efficiency and delivery stability. Research from Google's DORA shows that higher AI adoption correlates with lower delivery stability and lingering developer distrust. Furthermore, a controlled trial by METR found experienced developers…

ByteByteGo 2026-08-22 Original ↗
EP223: Ollama vs vLLM vs SGLang

Ollama, vLLM, and SGLang are three primary engines for serving open-weight models, each architected for distinct execution workloads. Ollama relies on a FIFO queue and pre-quantized GGUF models, making it optimal for local prototyping and laptop-scale hardware. vLLM implements continuous batching and PagedAttention to optimize KV cache management and maximiz…

ByteByteGo 2026-08-20 Original ↗
Schema Evolution: Changing the Contract Without Breaking What Runs

Schema changes are deceptively simple in code review but represent one of the most difficult types of modifications in software systems. Migrations often appear successful in staging yet fail in production because multiple application versions run simultaneously against the same schema. Incompatibility problems also emerge across time, such as when historica…

ByteByteGo 2026-08-19 Original ↗
GraphRAG: How AI Answers Questions Hidden Across Many Documents

Standard Retrieval Augmented Generation (RAG) operates through a straightforward pipeline where documents are split into token chunks and transformed into vectors via an embedding model. These vectors are stored in a vector index to facilitate proximity-based semantic search against incoming query vectors. During query execution, the closest document chunks…

ByteByteGo 2026-08-18 Original ↗
The New American AI Model Designed to be Customized

This section explains four foundational concepts essential to understanding language model architecture: tokens, parameters, training, and layers. Tokens serve as the granular text chunks processed by models, while parameters are the internal numerical values iteratively refined during training. Training optimizes these parameters via next-token prediction,…

ByteByteGo 2026-08-17 Original ↗
Waymo vs Tesla: Two Ways to Build Self-Driving Cars

Autonomous vehicle perception fundamentally contrasts direct distance measurements from sensors like lidar against derived depth calculations from camera arrays. Waymo incorporates a redundant multi-sensor suite consisting of lidar, radar, and cameras to ensure reliability across adverse environmental conditions like rain and ice. In contrast, Tesla relies s…

ByteByteGo 2026-08-15 Original ↗
EP222: What is Google’s TPU?

A Tensor Processing Unit (TPU) is Google's custom AI chip designed specifically for deep learning matrix multiplications, unlike GPUs which were initially created for graphics. At Cloud Next '26, Google announced its 8th generation of TPUs, introducing two distinct hardware variants for the first time. The TPU 8t is built to maximize raw throughput for train…

ByteByteGo 2026-08-13 Original ↗
A Detailed Guide to API Composition Techniques

In service-based architectures, single user-interface views often require data distributed across multiple independent services, necessitating a process called API composition to merge the responses. This merging logic can be executed on the client application, a central datacenter server, a CDN edge, or within an internal service. While introducing an inter…

ByteByteGo 2026-08-12 Original ↗
GitHub vs Vercel vs Replit: What Dev Platforms Do When AI Code Is Cheap

Language models have commoditized raw code generation, reducing its commercial value as a standalone developer tool feature. The primary value in AI-assisted development has consequently shifted to post-generation challenges such as safe code execution, functionality verification, and production deployment controls. Different developer platforms are addressi…

ByteByteGo 2026-08-11 Original ↗
How Cloudflare Is Making AI Pay for Content

Historically, websites monetized traffic after requests were served through advertisements, subscriptions, or repeat human visits. The rapid rise of AI and software agents disrupts this economic model because agents retrieve data in a single pass without viewing ads or subscribing. Consequently, software now represents over half of all web requests, increasi…

ByteByteGo 2026-08-10 Original ↗
How to Fight Clickbait: Meta, LinkedIn & YouTube Case Studies

Large feed recommendation systems rely on a two-step pipeline composed of retrieval and ranking. Retrieval historically relied on behavioral signals such as clicks and reactions, scaling well across hundreds of millions of candidates. However, optimizing directly for interaction counts favors engagement bait because engagement is an imperfect proxy for true…

ByteByteGo 2026-08-06 Original ↗
The Read Path versus the Write Path: Strategies and Techniques

Applications process two distinct types of operations: writes that record facts and reads that answer queries. As load grows, common optimizations like indexing, caching, and read replicas are progressively introduced to maintain read performance. However, these techniques duplicate and precompute data away from the primary source, leading to synchronization…

ByteByteGo 2026-08-05 Original ↗
How Big Models Teach Small Models to Be Smart

Distillation trains a new, separate student model to replicate the outputs and behavior of a larger teacher model. Unlike compression techniques such as quantization and pruning, which reduce the size of an existing model, distillation produces an entirely independent model with distinct parameters. The resulting smaller model provides practical benefits, in…