Recent stories
Each story's summary, with the places it was discussed.
Summaries are written by AI from the linked sources. Open the source for full context.
Can GROUP BY still be optimized after all these years?
Algorithms · Big Data · Database · Performance · SQL
Pivot found a significant optimization for top-K GROUP BY queries, such as finding the 10 items with the most orders.
Conventional analytical databases aggregate rows into private per-thread hash tables, merge partition results, and concatenate them, even though only a few partitions may affect the final answer; with 4,096 partitions, at least 4,086 are irrelevant to a top-10 result. The proposed approach tracks partition-level aggregate information, potentially using Bloom filters or counters, to prune unnecessary work.
AMD's MI355X GPU outperforms NVIDIA's B200 and B300 in performance-per-dollar when running the 2.8T parameter Kimi K3 model.
High HBM capacity allows single-node deployment, overcoming NVIDIA's cross-node constraints. While AMD faces minor software hurdles in ROCm, targeted optimizations in speculative decoding and prefill kernels demonstrate that AMD is a highly competitive, cost-effective alternative for frontier LLMs.
DuckDB 2.0’s async I/O substantially accelerates unchanged queries over AWS S3 by overlapping downloads with Parquet decoding.
On an M5 laptop, a query counting vote types in a 2.2 GB, 228-million-row Parquet file took 18.8 seconds in DuckDB 1.5.5 and 7.7 seconds in DuckDB 2.0 alpha. The file’s 2,268 row groups are prefetched by dedicated download threads while workers decode buffered data, keeping network and CPU active simultaneously. Results depend on network conditions.
The 2b2t.place team has completed the largest world download project in Minecraft, capturing 24 TB of data across the Overworld, Nether, and End.
Utilizing custom software and bot networks over 1.5 years, the project aims to archive the history of the 2b2t anarchy server, providing public access through a web viewer and upcoming torrent releases.
Scaling metrics queries for AI workloads with Distributed DataFusion
Backend · Big Data · Observability · Performance · Software Architecture
Datadog shipped Distributed DataFusion, a distributed query engine based on Apache DataFusion and Substrait, to scale high-cardinality metrics queries for AI workloads.
It splits physical plans across workers, streams Apache Arrow batches, eliminates an unnecessary network shuffle, and hashes string tags into u64 keys. In a local benchmark, these optimizations reduced latency from 420 ms on four cores to 42.2 ms on 16 cores. Adding machines improved latency most for longer query ranges.
How we scaled metrics aggregation by moving durable state into storage
Backend · Big Data · Distributed Systems · Observability · Software Architecture
Datadog scaled metrics aggregation through three generations by moving durable state from fixed consumers into storage.
The first design used static partition ownership and local RocksDB; the second added dynamic Kafka assignment with blob-backed state recovery, supporting about 10× more volume but making restoration the bottleneck. The third uses best-effort streaming while timeseries storage deduplicates, merges partial aggregates, and incorporates late data, allowing workers to resume at the live edge without restoring hours of historical state.
Scaling Model Evaluation at Pinterest with Ray (Part 4)
Artificial Intelligence · Big Data · Machine Learning · Performance · Software Architecture
Pinterest built a Model Evaluation platform that combines Ray and Apache Spark to compute decomposable, holistic, and group-wise metrics at scale.
A ReducibleMetric contract defines preprocessing, batch partials, and reduction; group-wise metrics preserve segments in buckets. Fusing metric computation with Ray inference removes S3 serialization and a separate cluster, overlapping CPU metrics with GPU inference. Benchmarks across 30K–3M rows and up to 300 experiments showed 25–32% lower end-to-end time and approximately linear scaling.
Rewinding the exponential: How we keep hardware usage down
Backend · Big Data · Distributed Systems · Performance · Software Architecture
Cloudflare reduced data-pipeline backbone traffic by about 70 GB/s through schema decomposition, zstd compression, load-balanced replication, early sampling, and repeated aggregation.
Product-specific schemas cut bandwidth 35–40%, zstd reduced compressed throughput nearly 40%, and 2026 changes saved roughly 38 GB/s through load balancing, 25 GB/s through sampling, and 7+ GB/s through aggregation. Ready-Analytics receiver optimizations reclaimed about 750 CPUs and 3.5 TiB of memory, while projected 2031 data volume was halved.
Geospatial joins, which use spatial predicates like ST_Intersects, often suffer from performance issues at scale due to their quadratic complexity.
While conventional joins utilize efficient hash partitioning, spatial predicates lack a clean join key, forcing expensive row-by-row comparisons. Floe addresses this by automatically rewriting queries to utilize H3 indexes, a hexagonal hierarchical tiling system that converts complex geometries into big-integer cell IDs. By representing shapes as sets of H3 cells, the system performs a fast integer equi-join as a pre-filter, followed by an exact spatial recheck to eliminate false positives. This method effectively reduces candidate pairs by up to 99 percent. Benchmark results show that optimizing H3 resolution can lead to speedups of nearly 400x compared to baseline queries, transforming expensive spatial operations into efficient parallel hash joins.
How Grab built Scarlet: the AI teammate that turns a Slack message into a production data pipeline
Artificial Intelligence · Big Data · Software Architecture · AI Agents
Grab rebuilt Scarlet around a compact core prompt and Markdown skill library, enabling multiple teams to turn Slack messages, Jira tickets, or API calls into reviewed production data pipeline changes.
It now shows plans, enforces user-scoped permissions, requires approval for mutating actions, and validates candidate data with schema, quality, and row-level checks. Since May 2026, usage tripled, repositories grew fourfold, and merge rates exceeded 85%, while humans retain merge authority.
Cloudflare’s Logpush Transformers let teams filter, redact, and reshape logs with SQL before export, reducing downstream processing, data volume, and cost.
Transformers run in-process within Bufstream using Apache DataFusion and Apache Arrow, avoiding network hops while supporting high throughput and predictable resource use. Queries apply per batch, produce NDJSON, fail closed on errors, and can be managed through Transformer Studio or the API. The feature is available on Free, Pro, Business, and Enterprise plans.
DuckDB v1.5.2 has been released, featuring bugfixes, performance improvements, and the launch of the stable DuckLake v1.0 lakehouse format.
The update includes Iceberg enhancements, Jepsen testing for increased robustness, a revamped WebAssembly shell, and notable performance gains in TPC-H benchmarks. Various community events are also scheduled for the upcoming quarter.
Rocky is a Rust-based control plane for data warehouse pipelines, offering features like branch management, column-level lineage, and compile-time safety.
It prevents silent data corruption via schema drift detection and provides cost attribution. The system supports integration with platforms like Databricks and Snowflake and utilizes an open-source model with DuckDB for local development.
Atlan moved its data platform from Apache Spark and StarRocks to DuckDB and object storage, handling analytical and operational workloads.
DuckDB now runs in-process in Python workers on Kubernetes and Temporal, reading Parquet and Apache Iceberg tables from Amazon S3, processing hundreds of millions daily and billions on peak days. A DuckDB service on ephemeral compute replaced StarRocks, cutting costs about 40%. Atlan also replaced Spark-related failures and contributes caching, spill-to-disk, and JSON improvements to DuckDB 2.0.
Atlan moved its data platform from Spark and StarRocks to DuckDB running on Parquet and Apache Iceberg in Amazon S3.
In-process DuckDB pipelines on Kubernetes and Temporal process hundreds of millions to billions of metadata rows without clusters, improving speed and reducing costs. A DuckDB service on ephemeral compute replaced StarRocks at about 40% lower cost, while DuckDB also powers Atlan’s AI registry and is replacing ClickHouse. Atlan contributed spill-to-disk, caching, and JSON features to DuckDB 2.0.
DuckLabs announced at AWS re:Invent that DuckDB is now available as a managed service in Amazon Athena, currently in Preview with general availability planned for 2027.
DuckDB Scales, initially offered in Amazon Athena, enables horizontal scaling for workloads exceeding 100 TB, with an open-source release planned for the first half of 2027. DuckLabs is also developing Athena and Redshift extensions for DuckDB, available through the AWS service repository.
Pinterest rebuilt Guardian as Guardian V2, replacing its monolithic abuse platform with modular infrastructure for real-time analytics, continuous action processing, and historical replay.
GSQL V2 preserves a unified query-to-action workflow while translating requests to StarRocks and FlinkSQL. Stream splitting reduces indexed column scale from O(20K) to O(K); StarRocks accelerates investigations, while FlinkSQL, Unified Driver, and Iceberg support scalable live evaluation and replay of up to 30 days of data, improving reliability, maintainability, and compliance alignment.
This guide provides software engineers with an overview of the data industry's landscape.
It covers data professions, lifecycles—including ETL and storage solutions like warehouses, lakes, and lakehouses—data processing tools, and consumption patterns. The article aims to demystify data terminology and architectures, helping developers better collaborate with data teams and understand the infrastructure behind analytical and scientific workflows.
Arm has introduced the ARM AGI CPU, a high-performance, dual-chiplet processor based on Armv9.2 architecture, specifically engineered for scalable AI infrastructure.
Built on a 3nm process, it supports up to 136 Neoverse V3 cores, PCIe Gen6, and 6TB of DDR5 memory, offering extreme density for modern data centers and agentic AI workloads.
Observability often struggles with the high volume and inconsistent nature of logs, which become increasingly difficult to manage as data grows.
Most logging stacks mutate in complexity or cost at scale. ClickHouse stands out by offering a consistent, columnar architecture that scales linearly through sharding, providing significant performance and efficiency advantages as data volumes increase.