This post originated from an RSS feed registered with Ruby Buzz
by Matt Bauer.
Original Post: Rubyforge ViewVC Performance Bump
Feed Title: blogmmmultiworks
Feed URL: http://blog.mmmultiworks.com/feed/rss.xml
Feed Description: Thoughts on Ruby, hosting and more
Recent Rubyforge ViewVC performance has sucked and it's bugged me. Today I finally found some time to look at. The problem? ViewVC was serving static assets like stylesheets and images through the handler.py code. Not ideal. I created a new section in the Apache virtual host config and changed the viewvc.conf docroot line.
Apache Virtual Host
Alias /docroot /u/apps/viewvc/templates/docroot
<Directory /u/apps/viewvc/templates/docroot>
Order allow,deny
Allow from all
</Directory>
viewvc.conf
docroot = /docroot
I also changed over to an OpenBSD SMP kernel to take advantage of the dual procs in the server. I can now say the performance is acceptable, though I would still like it to be faster.
On a different note, I'm aware of a problem with the repository rsync jobs resulting in Rubyforge ViewVC to be out of sync. I'm working on this problem and will post the fix once I find it.