{"id":15354949,"url":"https://github.com/capaj/compare-planetscale-neon-turso","last_synced_at":"2025-04-15T06:21:07.627Z","repository":{"id":222658436,"uuid":"758020437","full_name":"capaj/compare-planetscale-neon-turso","owner":"capaj","description":"few tiny benchmarks on latencies for the most prominent serverless DBs","archived":false,"fork":false,"pushed_at":"2024-04-28T21:06:19.000Z","size":395,"stargazers_count":21,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T17:01:46.679Z","etag":null,"topics":["drizzle-orm","neondb","planetscale","turso"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/capaj.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-02-15T13:19:18.000Z","updated_at":"2025-03-23T12:42:07.000Z","dependencies_parsed_at":"2024-02-15T14:45:04.783Z","dependency_job_id":null,"html_url":"https://github.com/capaj/compare-planetscale-neon-turso","commit_stats":null,"previous_names":["capaj/compare-planetscale-neon-turso"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capaj%2Fcompare-planetscale-neon-turso","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capaj%2Fcompare-planetscale-neon-turso/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capaj%2Fcompare-planetscale-neon-turso/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capaj%2Fcompare-planetscale-neon-turso/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/capaj","download_url":"https://codeload.github.com/capaj/compare-planetscale-neon-turso/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249017374,"owners_count":21198955,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["drizzle-orm","neondb","planetscale","turso"],"created_at":"2024-10-01T12:21:47.358Z","updated_at":"2025-04-15T06:21:07.597Z","avatar_url":"https://github.com/capaj.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Serverless DB latencies comparison\n\ncomparison made between three serverless DB offerings:\n\n- planetscale\n- neon\n- turso\n\nneon and turso are using the hobby plan.\nplanetscale is the scaler pro plan as I was unable to get the hobby plan in time of testing. Will update this chart when I get access to it.\n\nTODO measure again with neon HTTP driver and upload a proper chart.\n\n## Stack and infrastructure\n\nall DBs were tested in Frankfurt region.\nStack:\n\n- drizzle orm\n- cloudflare workers\n\nNeon is using the connection pooler as advised by their docs for serverless environments.\n\n## Conclusions\n\nplanetscale seems to have their networking stack setup the best. Their max latency for the simple select query stayed below 67 ms throughout whole test.\nNeon is predictable once the instance wakes up, but much slower.\nTurso is as fast as PS at times, but has random spikes to 400 ms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcapaj%2Fcompare-planetscale-neon-turso","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcapaj%2Fcompare-planetscale-neon-turso","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcapaj%2Fcompare-planetscale-neon-turso/lists"}