DB region select option ?
Does convex have option to select region, for example my vercel app is on SEA region and im using convex so to which convex is deployed to ?
13 Replies
Not yet, maybe one day, but no short-term plans.
Why do you need this?
I thought that my query might be taking too long due to my regional location.
https://discord.com/channels/1019350475847499849/1209433309541830676
since the queries themselves run directly next to the database the only latency you should be experiencing in a query call from an end user to database is the single round trip - if a query makes a bunch of calls to the database within it these should all be fast
our intention is to roll out edge caching to multiple regions to minimize query time for cached functions, which should be sufficient for the vast majority of use-cases
it seems like there may be a non-network-latency reason for the specific slow-down you're experiencing but if you have query patterns where a client need to talk to the database in a tight loop, such that network latency becomes a dominant factor, that would be good to hear about
if you want to be taken seriously in client application spaces where GDPR, governance and privacy is important, you need to be able to at least pick a continent other than the US to host data.
No one in Europe will seriously take on Convex if they cannot have their data there.
Also Africa, Asia and Australia latency to US is not really acceptable.
Coming from a Cloudflare space, location/region is the first thing you want to know. @Michal Srb
Okay
It’s on the list! We want to be taken seriously. 😀
Agreed and we’d love to see an Australian region, most of our customers require local data processing
@jamwt do you think an Australian region will be shipped with the August / September update?
no, but assuming everything goes smoothly with EU hosting, we'll offer other regions shortly afterward
most of the work is making the second region work; after that adding more is pretty straightforward
+1 for Canadian data residency too! Same reasons as given by Gerhard above. Our product works with public sector clients who have this requirement.
are there any updates on the roadmap of this feature?
Please keep an eye on this FAQ entry:
https://discord.com/channels/1019350475847499849/1410082090682159205
As updates are available, they'll be posted there.
thank you! will do
I tested my nextjs app with convex for some query benchmark all I got was my convex query was running less than 1ms but the network is 500ms because we are in middle east and convex server in USA
+1 for a Canada region, we also have clients with this requirement