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
Project ID:
2825aaab-da5e-45fd-87f5-9ea93a79f230
2825aaab-da5e-45fd-87f5-9ea93a79f230
Is this on first call or are repeated calls doing 8secs all the time?
all 8 seconds
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
yes the problem is no gone. I call it from Japan => but no even in japan it is fast