Massive Speed Improvements to Service Authentication System
With the release of v0.12 back in July we noticed some significant slowdown in the speed of access to various services, most noticeably subversion and trac (several users also commented on this). After a bit of playing around we tracked this to the authentication code for services. After a bit of serious refactoring[^1] in August we reckoned to have improved performance by an order of magnitude. Unfortunately due to commitments elsewhere and illness our planned release in September never came so the code still was sitting in trunk.
However, since we use the KForge code to run http://www.knowledgeforge.net/ we’ve been affected by this issue as much as anyone (a exemplary case of ‘eating our own dog food’). So in the end we bit the bullet and deployed v0.12dev (trunk) on http://www.knowledgeforge.net/ to see what would happen. Our rough guess based on the refactoring turned out to be about right: on a small repository update times improved by an order of magnitude (~65s to ~6s) — note that these figures depend not only on the size of the repository but the number of users and projects you have in your KForge installation.
Thus, in summary:
- The issues fixed in trunk and will be in v0.13 release due later this month or early next
- If you can’t wait for the stable release you could upgrade to trunk (which is pretty stable) — if you want to do this I suggest asking for guidance on the mailing list
[^1]: specifically: http://project.knowledgeforge.net/domainmodel/trac/changeset/47 and following changesets
Add comment November 6th, 2006