Skip to content

SYSTEM Cited by 1 source

PlanetScale Serverless driver for JavaScript

What it is

The PlanetScale Serverless driver for JavaScript (announcement post) is PlanetScale's first-party JavaScript database driver that speaks the PlanetScale HTTP API rather than the MySQL binary wire protocol. Designed for serverless / edge runtimes (Vercel Edge, Cloudflare Workers, AWS Lambda) that cannot open raw TCP sockets to speak MySQL natively.

Why it exists

Serverless compute platforms forbid raw TCP sockets from user code; the only egress option is HTTPS. Any database client from such a runtime therefore must speak an HTTP-based API. The Serverless driver is the consumer of the vendor-side HTTP API for the JavaScript ecosystem — the first production use case that forced the HTTP API's existence (Source: sources/2026-04-21-planetscale-faster-mysql-with-http3).

Architectural properties inherited from the HTTP API

Status

Production-available; first consumer of the HTTP API. PlanetScale's benchmark post frames it as the reason the HTTP API was built.

Why it shows up on this wiki

First canonical wiki example of a vendor-shipped serverless database driver that's HTTP-only by construction — the functional opposite of a traditional binary-protocol driver with local pool management, and the production answer to the serverless-TCP-socket-restriction forcing function.

Seen in

Last updated · 347 distilled / 1,201 read