4 ms·
The default Gemfile now bundles Puma in, so yeah it's production ready
by grk 4y ago
The default Gemfile now bundles Puma in, so yeah it's production ready
- e12e 4y agoPuma is certainly fine as the app server - but normally you'd still have a proxy/load balancer/tls terminator/"ingress server" in front. Something like traefik, nginx, haproxy or caddy. If (one of the) front-facing servers do regular http caching (a good idea anyway to play nice with rails caching[1])", you can probably "serve" the static assets straight from rails and let your proxy serve them from cache (if you don't have/need a full cdn). [1] https://guides.rubyonrails.org/caching_with_rails.html#conditional-get-support https://guides.rubyonrails.org/caching_with_rails.html#condi...