planetscale / database-js

A Fetch API-compatible PlanetScale database driver
https://planetscale.com/docs/tutorials/planetscale-serverless-driver
Apache License 2.0
1.17k stars 35 forks source link

[Question] question about performance #116

Closed shiyuhang0 closed 1 year ago

shiyuhang0 commented 1 year ago

I have learned that this driver is based on the unpublished HTTP API. I'm curious about its performance since it's HTTP based.

Is there any performance comparison between this serverless driver and other TCP based drivers like mysql2. thanks!

iheanyi commented 1 year ago

We didn't do any benchmarking of this package specifically. But check out this blog post by @mattrobenolt about the benchmarking of each protocol

shiyuhang0 commented 1 year ago

Thanks, this blog helps a lot. Does the driver uses the HTTP/3 API introduced in this post?