This is version . It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]

Caching improvements#

I spent some time analyzing what kinds of requests are issued from the wiki to the Page and Attachment providers in an effort to figure out why large wikis (1000+ pages) with lots of links and large pages become slow.

We have our own custom Page and Attachment providers which request content from a remote machine. This causes a 10 millisecond delay in every request. Booting up a wiki like this takes ages (10 minutes on 2.4GHz pentium) mainly due to caching inefficiency.

There are multiple factors that cause this:

  • Page and Attachment provider implementations can differ
  • There is no Attachment cache
  • Cache configuration errors make life difficult
  • There were some bugs in the caching implementation

More or less all of the issues got solved by re-engineering Page and Attachment providers and fixing of the bugs. This did spark me with some ideas on how the providers should be rewritten to give more flexibility to the provider writer.

Add new attachment

Only authorized users are allowed to upload new attachments.
« This particular version was published on 01-Sep-2003 17:13 by 212.226.212.119.