mmomtchev/sqlite-wasm-http: An experimental HTTP VFS driver for SQLite WASM
github.com·18h
💾SQLite
Preview
Report Post

sqlite-wasm-http

SQLite WASM with HTTP VFS

This project is inspired by @phiresky/sql.js-httpvfs but uses the new official SQLite WASM distribution.

It includes a number of improvements over the first version:

Based upon what will probably be the industry reference (backed by SQLite and Google)

Supports multiple concurrent connections to the same database with shared cache

The shared cache version uses SharedArrayBuffer which requires that the server hosting the JS code sends Cross-Origin-Opener-Policy: same-origin and Cross-Origin-Embedder-Policy: require-corp headers (aka CORS 2).

Simplified fall-back version without support for sharing cache between worker…

Similar Posts

Loading similar posts...