Settings

Theme

Latency at the Edge with Rust/WebAssembly and Postgres: Part 1

exograph.dev

1 points by ramnivasl 2 years ago · 2 comments

Reader

ramnivaslOP 2 years ago

During our journey towards WebAssembly support for Exograph, we learned a few things to improve the latency of Rust-based programs targeting WebAssembly in Cloudflare Workers connecting to Postgres. This two-part series shares those learnings. In this first post, we will set up a simple Cloudflare Worker connecting to a Postgres database and get baseline latency measurements. In the next post, we will explore various ways to improve it.

Even though we experimented in the context of Exograph, the learnings should apply to anyone using WebAssembly in Cloudflare Workers (or other platforms that support WebAssembly) to connect to Postgres.

ramnivaslOP 2 years ago

The second part is published: https://exograph.dev/blog/wasm-pg-explorations-2

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection