Re:ownCloud Infinite Scale: Go instead of PHP, microservices...
by ThePhysicist on Friday January 22, 2021 @05:58AM
(#25870539)
Go has good support for TLS and HTTP serving, so you can directly expose a Golang service to the Internet without a web server in front.
Many people still choose to put nginx or caddy in front as a load balancer and TLS termination though.
Re:ownCloud Infinite Scale: Go instead of PHP, microservices...
by vbsteven on Friday January 22, 2021 @06:05AM
(#25870583)
As with most builtin language HTTP servers it is advised to run Nginx/Apache/Caddy in front of it.
I think what they mean with PHP infrastructure is the specific configuration required to make Apache work with PHP, in the old days this was with an Apache plugin, or more recently the php-fpm project.
I don't know much about production web services in Go, but is it true that they wouldn't need Apache?
I work on a site using Python/Gunicorn and Node behind Nginx, and Nginx is really doing a lot of critical stuff for us, normalising requests, preventing certain classes of security issues, DoS attacks, etc. I wouldn't expect that sort of protection to be built into Go's standard HTTP server?