C
C
chief2019-04-23 15:13:22
Nginx
chief, 2019-04-23 15:13:22

Why does nginx on Windows have a 1 second delay?

Situation:
There are two web servers on the same network.
One on Windows + nginx
The second on Ubuntu + nginx
Sites from the server on Windows ALWAYS open in 1.2 - 2 seconds.
From Linux - 0.2 - 1sec.
I tried directly from the Windows server itself (locally) to open the site - everything is the same. there is no less than a second. It does not depend on scripts or volume. Stupidly such sensation that somewhere in system there is a setting "timeout before connection - 1 sec".
I'm still sinning more on Windows, because if you raise NAT on Windows, the delay of sites from the Internet also increases by 1 second. DNS tried to change to Google, cloudflare and others - it does not help.
Please help me find the reason. Maybe I missed something. (But on Windows there is an SSD and the site opens more slowly than the old ubunta with a hard drive). So the problem is not I\O.
I also tried to open the router's admin panel from the Internet (forwarding the port behind NAT), everything opens instantly. that is, the boundary router is also excluded. It is on Windows that such a hat.
Maybe someone had this?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
nrgian, 2019-04-23
@nrgian

Not dependent on scripts

Unix uses a different organization for running processes. Running a script is extremely time-consuming.
Windows uses severe isolation, etc. - which makes running a script on Windows extremely time consuming.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question