Edge <> Data latency

This demo helps observe the latency characteristics of querying different popular data services from varying compute locations.

Data service

Vercel Edge Functions support multiple regions. By default they're global, but it's possible to express a region preference via the region setting.

Location

Vercel Edge Functions support multiple regions. By default they're global, but it's possible to express a region preference via the region setting.

Waterfall

Executing complex API routes globally can be slow when the database is single-region, due to having multiple roundtrips to a single server that's distant from the user.