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 ?
7 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