tursodatabase / function-database-latency

Visualize the latency of databases from Vercel Functions.

Home Page:https://functions-latency.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vercel Functions Database Latency

This demo helps observe the latency characteristics of querying different popular data services from Vercel Functions.

https://db-latency.vercel.app

Providers

Here is an overview of all data service providers and the compute locations available in this app:

Provider Edge (Global) Edge (Regional / US East) Node
Convex (SDK)
Fauna
Grafbase (GraphQL)
Neon
Fauna
PlanetScale w/ Kysely
PlanetScale w/ Prisma ORM
PlanetScale w/ Drizzle
PolyScale
Shopify (Storefront GraphQL API)
Supabase w/ supabase-js
Supabase w/ Prisma ORM
Supabase w/ Drizzle
TiDB Cloud (serverless-js)
Tigris
Turso
Turso w/ Prisma ORM
Turso w/ Drizzle
Upstash (SDK)
Xata w/ TypeScript SDK
Xata w/ Prisma ORM
Xata w/ Drizzle

Testing Methodology

  1. Smallest atomic unit, e.g. 1 item / row.
  2. Data schema:
interface EmployeeTable {
  emp_no: number;
  first_name: string;
  last_name: string;
}

About

Visualize the latency of databases from Vercel Functions.

https://functions-latency.vercel.app/


Languages

Language:JavaScript 55.4%Language:TypeScript 44.6%Language:CSS 0.0%