Page MenuHomePhabricator

Switch gerrit from using apache to nginx
Closed, DeclinedPublic

Description

This will improve performance and it will also reduce the memory usage so java has plenty of memory to prevent it causing the server to stall when it runs gc.

See https://help.dreamhost.com/hc/en-us/articles/215945987-Web-server-performance-comparison and https://theorganicagency.com/blog/apache-vs-nginx-performance-comparison/

Event Timeline

Apache uses less than 100MB of memory on average, plus Gerrit's heap has plenty of space right now--we don't need the memory headroom.

Also, I'd rather move it behind LVS: T165631