Hacker News new | ask | show | jobs
by zakirullin 29 days ago
Server setup before the rewrite:

docker + php-fpm + php7 + larvel + nginx + redis + cron + worker + certbot

Server after the rewrite to Golang:

server, a 15MB no-dependencies binary that has everything.

3 comments

Using Go means you are forgoing Docker...? Ok.

Also if you don't need certbot anymore is your service managing its own ssl certs with letsencrypt? Isn't it generally easier to configure with a reverse proxy like nginx or caddy and terminate SSL at the edge? That's literally caddy's whole thing that it does SSL for you so that it doesn't concern your application.

That is a pretty strong argument for Go!
This is the reason I like go and rust so much
That's brilliant. Can't beat the convenience of a single-file executable!