Re:Major standard library changes in Go 1.20
by pjmlp on Tuesday January 17, 2023 @04:16PM
(#34419294)
Yet many of those depend on having something like Apache, NGIX, HA Proxy, IIS,... taking care of the actual load.
[ Parent
| on HN ]
Re:Major standard library changes in Go 1.20
by doctor_eval on Tuesday January 17, 2023 @04:59PM
(#34419973)
There is frequently a reverse proxy in front of all web services. It’s got nothing to do with the quality of the implementation behind the curtains. And “the actual load” is by definition managed by the endpoint not the router.
I mean it would be trivial to implement that reverse proxy in Go. And I do mean trivial; Go also includes a reverse proxy utility, so you can implement something basic in about 5 LOC.
At this point it’s hard to believe you’re being genuine.
Re:Major standard library changes in Go 1.20
by pjmlp on Wednesday January 18, 2023 @02:40AM
(#34424340)
So trivial that it isn't usually the case.
A weekend project and going at scale isn't the same thing.
Re:Major standard library changes in Go 1.20
by doctor_eval on Wednesday January 18, 2023 @05:25AM
(#34425193)
sigh
Re:Major standard library changes in Go 1.20
by simiones on Wednesday January 18, 2023 @10:31AM
(#34427871)
Kubernetes API server is not dependent on Apache, NGINX, HA Proxy, IIS, ... taking care of the actual load, since it's not getting any significant amount of traffic. In general API servers have much bigger scaling problems with actually executing the API calls rather than handling requests at scale. Having an NGINX or something similar to serve some static content and also reverse proxy to a Go server is sometimes nice if you're also serving a large UI app, but in that case NGINX is very much doing trivial work, and Go net/http is handling the real work.