1 min read
The Vercel Postgres SDK has significantly improved performance for Postgres queries from Vercel Edge Functions.
The @vercel/postgres
package has been updated to use the latest version of Neon’s Serverless driver which adds support for SQL-over-HTTP when you use the sql
template literal tag. Simple queries that do not require transactions now complete in ~10ms—up to a 40% speed increase.
You do not need to make any changes to your queries to see these improvements, you only need to update to the latest version of @vercel/postgres
to take advantage of these improvements.