What can we do to improve the speed and reliability of Trac? I am seeing two issues in particular: it is terribly slow to complete a request, and web service gets restarted often due to the box maxing out memory.
- We could move from prefork back to threaded mpm to improve memory usage, but then mysql connections become blocking. What’s a possible solution for this?
- Move Trac from Apache to nginx or using nginx as a frontend proxy, which would include a short-lived cache for reports and for users who aren’t logged in. Or, could we configure the existing load balancers in front of it?
I’m most interested in nginx as a frontend proxy through the existing load balancers, as it seems like it’d be the easiest to set up and give us a decent benefit.