N
Neon4mo ago
exotic-emerald

If I use netlify db, can I use neon is aws tokyo region?

https://neon.com/blog/netlify-db-powered-by-neon In this article, 🚀 Netlify DB: One-click Postgres on Netlify When you add a database, Netlify instantly provisions an anonymous Neon database in the background, in a region that matches your deployed functions so you get low-latency out of the box.... there is no tokyo region in neon, but available in netlify?
Neon
Netlify is Now a One-Stop Shop for Building with AI Agents - Neon
Netlify DB is now live - a free, production-ready Postgres database you can provision in one click or CLI command from your Netlify project.
4 Replies
correct-apricot
correct-apricot4mo ago
You can access neon globally, but distance between your backend and neon can increase your request latencies so I'd make sure to measure it and make sure you're happy with it If your backend needs to issue multiple queries for a http request, those round trips might add up. There's various ways to mitigate such issues though by designing your queries to do as much as possible in one go
exotic-emerald
exotic-emeraldOP4mo ago
I appreciate the latency advice! Just to clarify my original question though - if I deploy functions to Tokyo on Netlify, will Netlify DB provision a database in Tokyo region? Or would it still use the closest available Neon region?
correct-apricot
correct-apricot4mo ago
Ah, I'm not sure on that I'm afraid
exotic-emerald
exotic-emeraldOP4mo ago
thx for reply!

Did you find this page helpful?