Hi HN, I built pglite-oxide: a Rust crate for running ElectricSQL’s PGlite WASI Postgres runtime through Wasmtime.
0.3.0 makes the default path much more practical: prebuilt PGDATA template, Wasmtime module caching, direct embedded API, and local Postgres URI support for SQLx/tokio-postgres.
The main use cases I care about are Tauri/native apps with local Postgres, Postgres-backed tests without Docker, and local AI apps that want app data + embeddings on device.
It can also install PGlite/Postgres extension archives; I’m especially interested in pgvector for local semantic search/RAG. The runtime assets include things like pg_dump.wasm too, so I want this to become a useful embedded Postgres toolbox rather than just a query API.
I have been exploring workflow orchestration for sometime now - specifically Temporal. Temporal's authors don't recommend it for very high throughput (per workflow) use cases, although I haven't benchmarked it myself. Also using it in a SaaS environment, I would prefer some serverless deployment strategy which possibly allows scaling down to zero.
I have my eyes on flink stateful functions http://statefun.io/
The abstractions are quite low level as compared to Temporal but the overall ability to write tasks/activities as serverless functions which have access to state is quite attractive.
Would be happy to talk to someone who has explored this further.
0.3.0 makes the default path much more practical: prebuilt PGDATA template, Wasmtime module caching, direct embedded API, and local Postgres URI support for SQLx/tokio-postgres.
The main use cases I care about are Tauri/native apps with local Postgres, Postgres-backed tests without Docker, and local AI apps that want app data + embeddings on device.
It can also install PGlite/Postgres extension archives; I’m especially interested in pgvector for local semantic search/RAG. The runtime assets include things like pg_dump.wasm too, so I want this to become a useful embedded Postgres toolbox rather than just a query API.
Curious what people would try to build with this.