38 ms·
Server setup before the rewrite: docker + php-fpm + php7 + larvel + nginx + redis + cron + worker + certbot Server after the rewrite to Golang: server, a 15M
by zakirullin 5mo 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.
- lioeters 5mo agoThat's brilliant. Can't beat the convenience of a single-file executable!
- LinuxAmbulance 5mo agoThat is a pretty strong argument for Go!
- backscratches 5mo agoThis is the reason I like go and rust so much
- voidnap 5mo agoUsing 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.