Answer the question
In order to leave comments, you need to log in
Web server on GO?
I have a question on a subject.
Why can't the implemented ver-server on GO be put on the front?
I have the simplest simple implementation: the ver-server only works in one folder /var/www/.
Answer the question
In order to leave comments, you need to log in
It is possible, but nginx simply returns statics faster usually.
because the built-in server on Go does not know how to work with slow clients, and a hundred other such slow connections will simply fall off if timeouts are not set correctly for it, but then visitors who, for example, try to open a site from a phone with slow Internet, will fall off, so go
to the front they install nginx, and even where there is already a server such as IIS or Apache,
how nginx handles connections is partially written here
https://habr.com/post/260669/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question