3 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 6mo 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 6mo agoThat's brilliant. Can't beat the convenience of a single-file executable!
- LinuxAmbulance 6mo agoThat is a pretty strong argument for Go!
- backscratches 6mo agoThis is the reason I like go and rust so much
- voidnap 6mo 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.