Is it normal that the loading time is so slow?

What we are doing is: Frontend (Angular) => calls Backend (Spring) over the network => domain Then the spring reads some data from a mongo db on frankfurt digital ocean and sends it to the frontend. Location of Frontend and Backend is EU WEST. Resource Limits are both on 32 vCPU and 32G. Replicas 1 Sleeping is not activated. My call takes over 8seconds till the data is loaded. Is there a way to make this faster?
6 Replies
Percy
Percy2mo ago
Project ID: 2825aaab-da5e-45fd-87f5-9ea93a79f230
kuraputo
kuraputoOP2mo ago
2825aaab-da5e-45fd-87f5-9ea93a79f230
Prosper
Prosper2mo ago
Is this on first call or are repeated calls doing 8secs all the time?
kuraputo
kuraputoOP2mo ago
all 8 seconds
Attacler/Bart
Attacler/Bart2mo ago
from what i know: there is already a bunch of latency between frankfurt and the EU WEST you can test this with something like pingdom tools (https://tools.pingdom.com/) 9/10 times this can be solved by reducing the distance (same region or on the same machine) every db call/query will have this delay/latency applied
kuraputo
kuraputoOP2mo ago
yes the problem is no gone. I call it from Japan => but no even in japan it is fast
Want results from more Discord servers?
Add your server