TLDR Data 2026-07-23
Serverless Multi-Region Postgres 🌍, DuckDB’s Vectorized Execution 🦆, Backfills Done Properly 🔁
How Our Universal Content Processing Platform Riviera Evolved for AI and Beyond (4 minute read)
Riviera, Dropbox's internal content processing platform, runs hundreds of thousands of transformations per second. It uses a plugin model where new file formats add a plugin rather than touching core infrastructure, so improvements such as better text extraction propagate across previews, search, and AI document preparation simultaneously.
DuckDB Internals: Why is DuckDB Fast? (Part 2 Vectorized Execution) (17 minute read)
DuckDB is fast because it processes data in cache-friendly batches of 2,048 rows instead of one row at a time. Its vector formats, selection vectors, precompiled operations, and push-based pipelines reduce copying, function-call overhead, and parallel execution costs.
The startup's Postgres survival guide (12 minute read)
Postgres usually fails at scale because of avoidable operational mistakes such as poor indexing, long transactions, blocking migrations, connection storms, and autovacuum falling behind. The key is to design schemas around real query patterns, keep writes and migrations non-blocking, batch heavy workloads, and monitor query plans and bloat before they cause outages.
Backfilling: the most underrated feature of a data pipeline (11 minute read)
Backfills should use the same production pipeline as incremental loads, with configuration controlling whether it processes new data, everything, or a single record. This avoids fragile one-off scripts and, with bi-temporal writes, makes reprocessing safe and repeatable.
To Every Agent Its Own Database (16 minute read)
Each agent gets a local DuckDB instance, and exchanges immutable pinned SliceRef objects containing a snapshot ID and content digest instead of mutable snapshots to avoid cache coherence problems. Semantic contracts written in Malloy define governed queries as machine-checkable artifacts, and a contract comparison layer classifies changes as identical, additive, breaking, or unrelated before any downstream computation runs.
Your AI answered correctly. Finance still disagrees. (Sponsor)
latlng (Tool)
latlng is an open-source Rust engine for indexing moving objects, running geofences, and streaming location events natively or in the browser.
Optimizing for Almost Sorted Data: Sort Pushdown in Apache DataFusion (9 minute read)
Apache DataFusion now exploits exact and partial sortedness automatically for ORDER BY and ORDER BY ... LIMIT N, using Parquet min/max statistics, file reordering, and dynamic filters to avoid full scans and blocking sorts.
AI Schema Analyzer: Powered by Iceberg and Lakekeeper (3 minute read)
Iceberg and Lakekeeper are used to build an AI schema-drift impact analyzer for lakehouse tables, turning schema changes into near-real-time alerts and recommendations. The flow is: query engines issue DDL, Lakekeeper updates the Iceberg catalog and emits change events to Kafka/Redpanda, and a FastAPI + aiokafka + Anthropic service analyzes impact within seconds without scanning table metadata. Output is delivered to Slack and SQLite.
Aurora DSQL: Scalable, Multi-Region OLTP (21 minute read)
Aurora DSQL provides PostgreSQL-compatible, strongly consistent, active-active multi-region OLTP without managing servers, shards, replicas, or failover, with cross-region latency mostly paid at commit. Teams still need short transactions and must work around current limits such as 3,000 rows or 10 MiB per transaction and no enforced foreign keys.
The Current State of Agentic AI (6 minute read)
Production systems now deploy specialized agent teams, such as triage, SQL, and Python agents, with MCP connecting them to systems like GitHub, Slack, and PostgreSQL. Persistent memory graphs extract facts from execution histories so agents accumulate organizational knowledge across calls, and multi-agent handoffs introduce lateral prompt injection risks addressed through cryptographic tool provenance and ephemeral sandboxes.
LakeKeeper+MinIO (5 minute read)
DuckDB's Iceberg extension now supports CTAS, MERGE INTO, INSERT, UPDATE, and DELETE, making it viable for full CRUD-style Iceberg ETL locally without Spark. Paired with MinIO for S3-compatible storage and LakeKeeper as a Rust Iceberg catalog, teams can test scripts cheaply in Docker and switch to AWS S3Tables by toggling environment variables and secrets.
Smart caching with CTE on Spark (5 minute read)
Spark recomputes reused and nested CTEs by default, so cache selectively at fan-out points when intermediate results are complex, fit in memory, and reused. Avoid caching huge or trivial datasets, use eager caching for clearer monitoring, and materialize deep transformation chains to reduce redundant work and prevent stack overflows.
Curated deep dives, tools and trends in big data, data science and data engineering 📊
Join 570,000 readers for
one daily email