Abhishek
Abhishek2y ago

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
Michal Srb
Michal Srb2y ago
Not yet, maybe one day, but no short-term plans. Why do you need this?
Abhishek
AbhishekOP2y ago
I thought that my query might be taking too long due to my regional location. https://discord.com/channels/1019350475847499849/1209433309541830676
james
james2y ago
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
Gerhard
Gerhard15mo ago
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
jamwt
jamwt15mo ago
Okay It’s on the list! We want to be taken seriously. 😀
calvin
calvin3mo ago
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?
jamwt
jamwt3mo ago
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
chartpath
chartpath2mo ago
+1 for Canadian data residency too! Same reasons as given by Gerhard above. Our product works with public sector clients who have this requirement.
Alguri
Alguri2mo ago
are there any updates on the roadmap of this feature?
Clever Tagline
Clever Tagline2mo ago
Please keep an eye on this FAQ entry: https://discord.com/channels/1019350475847499849/1410082090682159205 As updates are available, they'll be posted there.
Alguri
Alguri2mo ago
thank you! will do
armanhadi
armanhadi4w ago
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
Chris P Bacon
Chris P Bacon4w ago
+1 for a Canada region, we also have clients with this requirement

Did you find this page helpful?