TIP DistributedServersPlugin is not installed on Foswiki.org.

DistributedServersPlugin

CDN and loadbalancing Wiki support

This plugin adds
  1. CDN support for selected attachments (on a per web basis)
  2. Browser accelleration, by distributing requests over multiple servers
  3. (future) geo-DNS based CDN
  4. (future) distributed Topic rendering

For http://nextwiki.org, it delegates all TWiki web pub requests to http://starfish.nextwiki.org/nextwiki.org/pub/TWiki/. To help make NextWiki.org as fast as possible, consider mirroring the files from there and emailing the http://twikifork.org/Community/InfrastructureTaskTeam to get your server added to our Content distribution network.

Installation Instructions

you will need to sync the attachments in the webs that you are CDN'ing - one way is to use rsync and crontab:
  • */5 * * * * /usr/local/bin/rsync -ravl /home/twikifork.org/pub/TWiki -e "ssh -i /root/.ssh/starfish.dsa" nextwiki@fosiki.nextwiki.org:/home/nextwiki/starfish.nextwiki.org/nextwiki.org/pub/ > /root/starfish.log

You do not need to install anything in the browser to use this extension. The following instructions are for the administrator who installs the extension on the server.

Like many other extensions, this module is shipped with a fully automatic installer script written using the BuildContrib.
  • If you have TWiki 4.2 or later, you can install from the configure interface (Go to Plugins->Find More Extensions)
  • If you have any problems, then you can still install manually from the command-line:
    1. Download one of the .zip or .tgz archives
    2. Unpack the archive in the root directory of your installation.
    3. Run the installer script ( perl <module>_installer )
    4. Run configure and enable the module, if it is a plugin.
    5. Repeat for any missing dependencies.
  • If you are still having problems, then instead of running the installer script:
    1. Make sure that the file permissions allow the webserver user to access all files.
    2. Check in any installed files that have existing ,v files in your existing install (take care not to lock the files when you check in)
    3. Manually edit LocalSite.cfg to set any configuration variables.

Plugin Info

Plugin Author(s): SvenDowideit@fosiki.com
Copyright: © 2008 SvenDowideit@fosiki.com
License: GPL3 (Gnu General Public License)
Plugin Version: 767 (18 Nov 2008)
Change History:  
Nov2008: initial simple release for nextwiki.org use
Dependencies: None
Plugin Home: http://nextwiki.org/bin/view/Extensions/DistributedServersPlugin
Feedback: http://nextwiki.org/bin/view/Extensions/DistributedServersPluginDev
Appraisal: http://nextwiki.org/bin/view/Extensions/DistributedServersPluginAppraisal

Related Topics: TWikiPlugins, DeveloperDocumentationCategory, AdminDocumentationCategory, DefaultPreferences, SitePreferences

Topic revision: r4 - 09 Dec 2009, CrawfordCurrie - This page was cached on 29 Aug 2016 - 11:11.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License