/plushcap/analysis/supabase/supabase-postgres-foreign-data-wrappers-with-wasm

Postgres Foreign Data Wrappers with Wasm

What's this blog post about?

Foreign Data Wrappers (FDWs) in Postgres allow interaction with externally hosted data by creating foreign tables. Today, support for WebAssembly (Wasm) wrappers has been released, enabling users to create Wasm wrappers to external services and run them directly from platforms like GitHub. This feature enhances security, simplifies development, distribution, and improves performance of FDWs. The architecture includes a Supabase Wrappers Extension that runs within Postgres and isolated, dynamically-loaded Wasm packages (guests) for data fetching and processing. Currently, the Wasm FDW supports HTTP(s)-based JSON API sources but not TCP/IP-based DBMS or local files. Developers can build their own Wasm FDWs to integrate diverse data sources into Postgres. The feature is available on the Supabase platform with built-in wrappers for Snowflake and Paddle.

Company
Supabase

Date published
Aug. 16, 2024

Author(s)
Bo Lu

Word count
1107

Hacker News points
None found.

Language
English


By Matt Makai. 2021-2024.