惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Google DeepMind News
Google DeepMind News
C
CERT Recently Published Vulnerability Notes
C
Cisco Blogs
Cloudbric
Cloudbric
The Last Watchdog
The Last Watchdog
L
LINUX DO - 热门话题
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Application and Cybersecurity Blog
Application and Cybersecurity Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Security Archives - TechRepublic
Security Archives - TechRepublic
TaoSecurity Blog
TaoSecurity Blog
V2EX - 技术
V2EX - 技术
H
Heimdal Security Blog
S
Security Affairs
L
Lohrmann on Cybersecurity
Hacker News - Newest:
Hacker News - Newest: "LLM"
Simon Willison's Weblog
Simon Willison's Weblog
WordPress大学
WordPress大学
小众软件
小众软件
Security Latest
Security Latest
AWS News Blog
AWS News Blog
Apple Machine Learning Research
Apple Machine Learning Research
GbyAI
GbyAI
Engineering at Meta
Engineering at Meta
阮一峰的网络日志
阮一峰的网络日志
罗磊的独立博客
F
Full Disclosure
S
Schneier on Security
L
LangChain Blog
MyScale Blog
MyScale Blog
Know Your Adversary
Know Your Adversary
P
Privacy International News Feed
Google Online Security Blog
Google Online Security Blog
Scott Helme
Scott Helme
Stack Overflow Blog
Stack Overflow Blog
爱范儿
爱范儿
A
Arctic Wolf
Martin Fowler
Martin Fowler
B
Blog RSS Feed
大猫的无限游戏
大猫的无限游戏
博客园 - 三生石上(FineUI控件)
The Register - Security
The Register - Security
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
博客园_首页
Latest news
Latest news
F
Fortinet All Blogs
G
GRAHAM CLULEY
T
The Exploit Database - CXSecurity.com
Hacker News: Ask HN
Hacker News: Ask HN

The Data Engineering Show

AI for Data and Data for AI: The Dual Frontier of Modern Data Engineering with Pranav Motarwar AI Won't Replace Engineers, But This Framework Will Change How They Build with Rohit Girme The Framework Canva Uses for 200M+ Designers with Paul Tune Llama 2 & 3 Safety: Soumya Batra on Agentic AI Training How Zipline AI Turns Weeks of Engineering Into Minutes of SQL Queries ft. Nikhil Simha The Geo-Data Problem Nobody Talks About And How Voi Solved It ft. Magnus Dahlbäck Why 99% of Data Teams Give Up on Real-Time And How Artie Changes That The $100M Problem: How Lyft's Data Platform Prevents ML Failures with Ritesh Varyani at Lyft 60 Billion Predictions Daily: Inside Credit Karma’s Agentic Data Layer with Maddie Daianu Block Bad Data Before the Write with Nike’s Ashok Singamaneni Postgres vs. Elasticsearch: The Unexpected Winner in High-Stakes Search for Instacart with Ankit Mittal Is Self-Service BI a False Promise? Lei Tang of Fabi.ai Thinks So Building Uber's AI Assistant: How Genie Revolutionizes On-Call Support with Paarth Chothani from Uber From Zero to 100M Users: Inside Notion’s Data Stack and AI Strategy with Sumit Gupta How Rising Wave Is Redefining Real-Time Data with Postgres Power Revolutionizing Data Governance with DataStrato’s Unified Open Source Approach Database Technology in the Age of AI with DuckDB Labs co-creator Hannes Mühleisen AI and Data Movement: Trends and Best Practices with Estuary’s Daniel Pálma AI and Data Change Management with Chad Sanderson, CEO Gable AI Tech Stacks and Tradeoffs: Xudo's Founder on Picking the Right Tools for BI Success Data Rewind: Conversation Highlights from Zach Wilson, Matthew Housley, Joe Reis, and Krishnan Viswanathan The Resurgence of SQL: Insights from Ryanne Dolan from LinkedIn Vector Databases Won’t Replace SQL - Andy Pavlo How ZoomInfo transitioned from data graveyards to ROI-driven data projects Matthew Weingarten from Disney Streaming about Data Quality Best Practices Joseph Machado, Senior Data Engineer @ LinkedIn talks best practices Professors Joe Hellerstein and Joseph Gonzalez on LLMs Megan Lieu on powerful notebooks that enable collaboration Transitioning from software engineering to data engineering Vin Vashishta explains why we should stop using dashboards Joe Reis and Matt Housley on the fundamentals of data engineering Bill Inmon, the Godfather of Data Warehousing Large-scale data engineering at Momentive.ai - Meenal Iyer Data engineering from the early 2000s till today - BlackRock Zach Wilson on what makes a great data engineer How ZipRecruiter and Yotpo power self-service data platforms that work Data Observability with Millions of Users - Barr Moses How Amplitude Engineers Process 5 Trillion Real-time Events Making Observability a Key Business Driver A ClickHouse Review from a Practitioner’s Point of View The Creator of Airflow About His Recipe for Smart Data-Driven Companies How Similarweb Delivers Customer Facing Analytics Over 100s of TBs How Klarna Designed a New Data Platform in the Cloud How Eventbrite is Modernizing its Data Stack A Deep Dive into Slack's Data Architecture Transitioning Scopely’s 5.5 PB Data Platform to the Modern Data Stack Getting rid of raw data with Jens Larsson How Zendesk engineers manage customer-facing data applications How are those data intensive customer facing apps engineered at Gong? How Bolt Engineers Are Designing Its Next-Gen Data Platform How did Agoda scale its data platform to support 1.5T events per day? Diving Into GitHub's Data Stack Building Data Products For Data Engineers How Vimeo Keeps Data Intact with 85B Events Per Month How Substack's Data Stack Supports 500K Paying Subscribers A Technical Deep Dive to Yelp's Data Infrastructure - With Steven Moy How Canva's Data Engineers and Analysts Support 55M Active Users How AppsFlyer Delivers Sub-Second BI to 1000 Looker Users - With Alexandra Sudilovsky The Data Engineering Show - Coming Soon...
The Data Fusion Secret & Why Custom Query Engines Fail with Nikita Lapkov
The Firebolt Data Bros · 2026-03-24 · via The Data Engineering Show

What if building a distributed SQL engine meant rethinking everything about how query execution works at scale? In this episode, Benjamin sits down with Nikita, Senior Software Engineer at Cloudflare, to explore how R2 SQL leverages object storage and distributed computing to power analytics across 300 global locations, why backward compatibility becomes critical when you can't control infrastructure rollouts, and the key strategies for handling joins and adaptive query execution in a stateless, point-to-point network architecture. Whether you're designing distributed systems or curious about how Cloudflare processes petabytes of data, this conversation reveals the real-world engineering challenges and innovations shaping the future of cloud data platforms.

In this episode of The Data Engineering Show, host Benjamin Wagner sits down with Nikita Lapkov, Senior Software Engineer at Cloudflare, to explore the architecture, design decisions, and future roadmap of R2 SQL- Cloudflare's new R2-based distributed query engine launched in September 2024.

What You'll Learn:

  • How to leverage existing query engines strategically: Why Cloudflare chose Apache Data Fusion for single-node query processing rather than building an analytical engine from scratch, freeing engineering resources for distributed orchestration challenges.
  • The stateless architecture pattern for global infrastructure: How to design compute nodes that hold zero persistent state by storing all metadata in a distributed catalog (Iceberg), enabling per-query worker provisioning across 300+ geographically dispersed data centers.
  • Why filter pushdown and metadata-driven pruning are non-negotiable optimizations: How to reduce data scanned from object storage before query execution begins by leveraging catalog statistics and range filtering - the foundation of R2 SQL's performance gains.
  • How to solve version compatibility at infrastructure scale: Why backward compatibility matters more than cross-version support when you can't control individual node upgrade timing, and how this constraint drives architectural decisions.
  • The shuffle strategy for point-to-point distributed joins: How to implement in-memory and disk-based shuffles within ephemeral worker clusters using network-addressable worker IDs, allowing stateless workers to forget completely after query completion.
  • Why adaptive query execution is the next frontier for petabyte-scale analytics: How collecting runtime data distribution statistics mid-query execution enables mid-flight plan reconfiguration - a technique worth the overhead investment when queries run for minutes or hours rather than milliseconds.

If you enjoyed this episode, make sure to subscribe, rate, and review it on Apple Podcasts, Spotify, and YouTube Podcasts. Instructions on how to do this are here: https://www.fame.so/follow-rate-review


About the Guest(s)

Nikita is a Senior Software Engineer at Cloudflare, specializing in distributed query engines and data platform architecture. With extensive experience in database internals gained through roles at ClickHouse, Yandex, and MongoDB, Nikita has developed deep expertise in query optimization and system design at scale. At Cloudflare, he leads the development of R2 SQL, a distributed analytical query engine built on Apache Data Fusion, serving as a critical component of Cloudflare's data platform. In this episode, Nikita discusses the architecture, design decisions, and technical challenges of building a stateless, distributed SQL engine across Cloudflare's unique 300-location infrastructure, offering valuable insights for engineers working on large-scale data systems. Their work demonstrates how thoughtful architectural choices and infrastructure constraints drive innovation in distributed database systems.

Quotes

"It was my crash course into OS engineering. We encouraged every possible bug in this project. It was very painful and very hard." - Nikita Lapkov

"Collecting a stack trace is very hidden, especially if you're not writing in C or C++. It is actually a very complicated and involved process." - Nikita Lapkov

"What excites me is that it has free egress. Usually, you would pay per gigabyte to load your data. You don't have that with R2." - Nikita Lapkov

"What we explicitly wanted to avoid when building R2 SQL is building an analytical query engine again. We would much rather use something off the shelf and work on the interesting distributed parts." - Nikita Lapkov

"No matter how complex the query is, you can make a case that, with extreme cases, the throughput for a single load operation is relatively constant, no matter how complex the query is." - Nikita Lapkov

"We try to be as stateless as possible. All our state lives in the catalog itself, so we only need what's in the catalog and the query that comes from the request." - Nikita Lapkov

"The shuffles cannot really be reused unless you do some very fancy heuristics. Once we have picked the workers for a particular query, we can think of them as our little cluster." - Nikita Lapkov

"Joins consume your entire roadmap, and this is pretty much what will be happening with us at some point. We need to make sure that distributed joins work really well, no matter what your data distribution is like." - Nikita Lapkov

"We have potentially minutes to spare, and optimizing some even subparts of the query is worthy investigation because it could shave hours or something like that." - Nikita Lapkov

"Finding the safe points for replanning and doing this distributed coordination while we have 50 different workers working on different parts of the query is definitely the area we want to look at in the coming year." - Nikita Lapkov

Resources

Connect on LinkedIn:

Websites:

Tools & Platforms:

  • R2 SQL – Cloudflare's R2-based query engine for analytical queries
  • Apache Arrow DataFusion – Analytical query engine used for single-node number crunching
  • Arroyo – Rust-based streaming solution built on DataFusion
  • R2 – S3-compatible object storage with free egress
  • Apache Iceberg – Catalog system for state management

The Data Engineering Show is brought to you by firebolt.io and handcrafted by our friends over at: fame.so

Previous guests include: Joseph Machado of Linkedin, Metthew Weingarten of Disney, Joe Reis and Matt Housely, authors of The Fundamentals of Data Engineering, Zach Wilson of Eczachly Inc, Megan Lieu of Deepnote, Erik Heintare of Bolt, Lior Solomon of Vimeo, Krishna Naidu of Canva, Mike Cohen of Substack, Jens Larsson of Ark, Gunnar Tangring of Klarna, Yoav Shmaria of Similarweb and Xiaoxu Gao of Adyen.

Check out our three most downloaded episodes: