Skip to content

Commit 3159595

Browse files
committed
add README
1 parent 091c2f3 commit 3159595

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Neon Latency Benchmarks
2+
3+
A benchmark measuring latencies from Vercel serverless regions to Neon databases.
4+
5+
## Components
6+
7+
- [./cron-vercel](./cron-vercel/): API deployed to Vercel that runs every 15 minutes to measure latencies from each Vercel region to all benchmark databases.
8+
- [./dashboard](./dashboard/): Next.js dashboard displaying latency measurements.
9+
10+
## Setup
11+
12+
1. Run `bun run setup` in the dashboard directory to create the benchmark databases
13+
2. Run `npm run deploy` in the cron-vercel directory to deploy the cronjob application using the Vercel CLI. This is necessary because we override the build directory with custom region configurations.
14+
3. Deploy the dashboard application to Vercel.
15+
16+
## Benchmark Details
17+
18+
- Measurements every 15 minutes
19+
- Each Vercel region queries databases across all AWS regions available on Neon
20+
- Two measurements per iteration: cold and hot
21+
- Special regions (us-west-2, us-east-1) test both HTTP and WebSocket connections
22+

0 commit comments

Comments
 (0)