Hi, I'm using Javascript SDK to invoke Edge Functi...
# help
a
Hi, I'm using Javascript SDK to invoke Edge Functions and it's seem that it call a server in south america when my users are located in EU, do you have an idea why ? Thanks !
n
Hello @antoninbeaufort! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ``...`` menu) and select "Leave Thread" to unsubscribe from future updates. Want to change the title? Use the ``/title`` command! We have solved your problem? Click the button below to archive it.
j
Hey @antoninbeaufort what location is your project setup in?
a
In Project Settings -> General -> Infrastructure the region is
eu-west-2
Sometimes it's called in asia
j
I’d venture edge functions are behind a load balancer, so it may have given it to a function setup in a different region… you’re just seeing which server was first available to handle the request.
a
Hum ok I see, in browser network tab, the server seems to be closer than in functions invocations log, it should be fine
j
I’d still reach out to support though is it is def a little surprising to me… just depends on if there’s some sort of service mesh with metrics which knows that it’s faster to query a function in another location than the one the user requested it from
a
Yes it would be interesting to communicate on the management of the requests on this Edge network