Quantcast
Viewing all articles
Browse latest Browse all 972

speed issues - how to diagnose it correctly?

I have a Linux setup with nginx passing requests from external IP to internal application. When I'm accessing it, the app is responding very slow, like tens of seconds. However, in application output log I see it processes requests pretty quick, like building a page in 0.6 sec and then passing linked resources (css, jpg) in under 0.001 second.

However, it often ends in nginx returning 504. Sometimes page is loading only partially. Sometimes load is complete, but too much time it takes.

When 504, it just 504 in nginx log. Like it wasn't nginx fault, but the application one.

What else, apart of reading logs, can I do to diagnose it?

Viewing all articles
Browse latest Browse all 972

Trending Articles