Results 1 to 5 of 5

Multiple Forums On Server Sharing One Set Of vBSEO Files

This is a discussion on Multiple Forums On Server Sharing One Set Of vBSEO Files within the General Discussion forums, part of the vBulletin SEO Discussion category; Recently I developed this vBulletin mod: Dynamically Linked Source - Speed Up Your Multiple Site Network & Upgrades - vBulletin.org ...

  1. #1
    Junior Member
    Real Name
    Jeff Capron
    Join Date
    Sep 2008
    Posts
    3
    Liked
    0 times

    Multiple Forums On Server Sharing One Set Of vBSEO Files

    Recently I developed this vBulletin mod:

    Dynamically Linked Source - Speed Up Your Multiple Site Network & Upgrades - vBulletin.org Forum

    And we have been working on way to include vBSEO to use the same method. Was just curious if there is any interest in here for such a thing? We plan on posting the details freely here and at vb.org.

    We have found that this saves a massive amount of overhead when using multiple sites on a server or cluster that all use Vbulletin and vBSEO..

  2. #2
    Senior Member Brandon Sheley's Avatar
    Real Name
    Brandon Sheley
    Join Date
    Oct 2005
    Location
    Kansas
    Posts
    2,347
    Liked
    19 times
    Blog Entries
    1
    We are doing this in the Crowdgather - Find it on Forums network, but we don't plan to release a mod ATM.
    My forums: General Forums | Admin Talk (running xenforo)

  3. #3
    Senior Member
    Real Name
    Joseph Ward
    Join Date
    Jun 2005
    Posts
    23,847
    Liked
    33 times
    Blog Entries
    9
    Sure - we would be interested in the details.

  4. #4
    Junior Member
    Real Name
    Jeff Capron
    Join Date
    Sep 2008
    Posts
    3
    Liked
    0 times
    We had to get a little tricky with it because vBSEO needs to write to the config file. Ideally (for our purposes) it would be great if this was no longer necessary. There are probably better ways to do this, but for our needs, it works well.

    If you follow the directions of this plugin:

    Dynamically Linked Source - Speed Up Your Multiple Site Network & Upgrades - vBulletin.org Forum

    It will explain how you set up the central repository for the source code files of vBulletin. The method we are using to do this with vBSEO piggy backs on top of it.

    In the includes/configs directory (see plugin readme) you want to add the vbseo_globals.php file attached to this post and edit as directed in the file.

    You add all of the vBSEO files to the repository (the DLS), EXCEPT the vbseo_config.php file.

    You can either create an .htaccess file or add directly to httpd.conf for each site, with this code:

    php_value auto_prepend_file '/home/vbcore/includes/configs/vbseo_globals.php'
    Obviously you need to change the path in this directive. This needs to be the absolute path to the vbseo_globals.php file in the repository (DLS).

    Execute the symlinking script from the plugin package (php-clone.php) and you should be all set.

    Each site will use the same files (except for vbseo_config.php). They will only be cached once, instead of multiple times for each site. So basically if you are running two forums on one server and you use this method, you have just about cut the memory usage in half (providing your using opcode caching of some kind), and greatly improved effeciency.

    I have included an image of the results we received when using this with just vBulletin, and you can see the dramatic results on server load. We are compiling stats now for vBSEO usage on the DLS. So far the results are very encouraging. From anecdotal evidence (i.e. every time I view "top" on the network) I can tell you that server load has dropped almost 40%. The network we are testing this on has five rather large forums working on three load balanced servers.
    Attached Thumbnails Attached Thumbnails web-server-cacti.jpg  
    Attached Files

  5. #5
    Junior Member
    Real Name
    Jeff Capron
    Join Date
    Sep 2008
    Posts
    3
    Liked
    0 times
    Added a month view of the DLS w/out vBSEO. We added the sites to DLS in July, you can see the noticeable results.
    Attached Thumbnails Attached Thumbnails image1.jpg  

Similar Threads

  1. Hotlink Protection Tutorial (Apache Server - .htaccess files)
    By NeutralizeR in forum Member Articles
    Replies: 15
    Last Post: 06-08-2011, 03:25 PM
  2. Multiple Forums
    By geoff778 in forum Pre-Sales Questions
    Replies: 10
    Last Post: 05-11-2007, 02:14 PM
  3. Multiple websites on one server
    By optrex in forum Troubleshooting
    Replies: 4
    Last Post: 09-16-2006, 05:43 AM
  4. Problem using same name for multiple forums
    By s2kinteg916 in forum General Discussion
    Replies: 1
    Last Post: 02-07-2006, 12:35 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •