Home / Companies / Supabase / Blog / Post Details
Content Deep Dive

Adding Async Streaming to Postgres Foreign Data Wrappers

Blog post from Supabase

Post Details
Company
Date Published
Author
Bo Lu
Word Count
714
Company Posts That Month
13
Language
English
Hacker News Points
-
Post removed?
No
Summary

The text discusses the development and implementation of asynchronous streaming capabilities for Foreign Data Wrappers (FDWs) in PostgreSQL, particularly in the context of integrating with analytical systems like ClickHouse. Traditional FDWs operate in a synchronous, batch-oriented manner, which can lead to high memory usage, poor interactivity, and inefficient resource utilization due to blocking during data fetches. To address this, a new approach using Rust's async runtime has been introduced, allowing FDWs to stream data incrementally through a bounded channel, which maintains predictable memory usage and improves query responsiveness by delivering results as soon as data becomes available. This innovation transforms FDWs into components suitable for modern data pipelines, enabling PostgreSQL to efficiently query remote data sources with low latency and scalability, and positions Wrappers as a universal data gateway within the SQL ecosystem.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Real-time 15 8,461 1,407 260 +57%
Data Pipeline 1 1,051 283 78 +133%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.