GF-Corporate-Archives / gf-johann-conrad-fischer

Reisetagebücher
2 stars 2 forks source link

Server very slow recently #499

Closed feggimann closed 11 months ago

feggimann commented 11 months ago

The server of the live version johannconradfischer.com is quite slow recently. Last week I did not work with it, but this week several times and it was always very slow. Sometimes, even error messages popped up, see Screenshot yesterday:

grafik

windauer commented 11 months ago

@feggimann we did take a look and for three different people here (in 2 different countries) the server is perfectly fine and fast and we are not able to reproduce the issue. I further looked up our monitoring data and everything looks perfectly fine and the johannconradfischer.com server is rather bored and answer times look perfectly fine. Is it possible that this was something with your internet connections / proxy settings or something else on your side?

Response Times:

Screenshot 2023-11-30 at 13 59 09

Server Load (usually 0,1, even 1 would be ok.. only if it is over 2,3 and for longer times than there is an issue)

Screenshot 2023-11-30 at 13 54 54
windauer commented 11 months ago

@feggimann we just found out via Matomo that there were some real performance issues last week, especially on the 23rd of November

Screenshot 2023-11-30 at 15 31 17

From what we see these are "client side" issues, that means in all our monitoring data we see that the server itself is rather bored, no heavy computations or anything. And we only had 9 visitors on the 23rd of November. But Matomo shows us, that suddenly a request to the index.html took 44seconds which is way to long and not acceptable.

Only explanations we can imagine:

a) the client browser had a very poor internet connection and thats the reason why everything took long. b) one of the services the index.html page is requesting did not respond in time, and therefore the page was very slow.

to find out if a) was the case it would be very valuable to know if you tried it from the same network / computer or if you tried it from different networks (e.q. wifi at work, at home and nice mobile data.. ).

If b) is the reason we think it could be cause by a piece of JavaScript loaded from remote in the landing page (index.html) of johannconradfischer.com. Looking at the Matoma data it seems all other pages were more or less fine. Since this JavaScript file is only used on the index.html page and nowhere else, it would explain why only that page was slow. Instead of loading this JavaScript file now from a remote server (https://cdnjs.cloudflare.com/ajax/libs/animejs/3.2.1/anime.min.js) we will download it and serve it directly from johannconradfischer.com.

feggimann commented 11 months ago

thank you for checking. when in my office on my device it is still very slow, in different browsers. but strangely not for the whole team although in the same network. everywhere else it is fine.

because normally it works fine i close the issue