Back to vBulletin 3.7 Add-ons

Dynamically Linked Source - Speed Up Your Multiple Site Network & Upgrades
Mod Version: 1.00, by Jafo232

This modification is in the archives.
vB Version: 3.7.2 Rating: (11 votes - 5.00 average) Installs: 53
Released: 14 Aug 2008 Last Update: Never Downloads: 319
Not Supported Uses Plugins Additional Files  

For the purposes of this documentation, "Network" refers to a group of forums on a single server or cluster of servers.

When 3.7.1 PL2 was released, I http://www.vbulletin.com/forum/index.php?t=275894 lamenting the fact that I had 15 upgrades to perform and how it would be nice to have a multiple site license to lighten the burden of downloading each install separately. In the end, I spent much more time coming up with this system.

Dynamically Linked Source or DLS allows operators of two or more forums on the same server or cluster, for all intents and purposes, to use one set of source code instead of multiple sets. By using one set of source code, Op code caching is much more efficient as only one copy of the source is cached. This greatly reduces the amount of memory used caching the source code, and also makes it more efficient. It will lead to less fragmentation for systems using http://www.php.net/apc, http://xcache.lighttpd.net/, http://eaccelerator.net/, or other such methods of caching Op code.

The method uses symbolic links to a central repository of the source code. Therefore, upgrades to all sites on the network can be done quickly by just replacing the source. For patch level releases, this means the entire network can be patched with one upload. Upgrades to a new version can be done this way, or a new repository can be created and each site can be upgraded one at a time.

The issue of licensing has also been addressed. Once the product file is installed, and assuming the installation instructions were followed, each installation will report the proper license key when salting cookies, or reporting back to Jelsoft as Vbulletin does from time to time (mostly in the AdminCP).

I contacted the development team at Jelsoft and discussed this method before releasing it, and got the OK from Mike. I was initially concerned that it may break licensing or perhaps give away too much of the license reporting methodology, but now that I look back, it really does not do either.

In tests on a rather large network that contains seven forums with about 7 million posts, hundreds of thousands of registered users, and uses three load balanced servers the load has been reduced by almost 40%. You can see in the graph attached to this thread for the particulars.

I have tried to make the readme as clear as possible, but honestly that was never one of my strong points. I cannot emphasize more that before you implement this method, TEST it first in your sandbox. Also, make sure you backup your software and database before you use this.

I also have included a PDF that explains what is happening in greater detail.

Updates:

8/20/08 - This will work with the latest version of VBSEO (3.2.0 at this time). Add all the files to the DLS except the config file, and run the php-clone.php script.

This product was developed for Andy R from http://www.socialknowledge.net/ and released here for others to enjoy.

Please don't forget to as I have worked quite a while on this.

Download

This modification is archived, downloads are still allowed.

File Type: %1$s DLS.zip (119.9 KB, 291 downloads)

Screenshots

Click image for larger version
Name:	Web Server Cacti.jpg
Views:	895
Size:	61.2 KB
ID:	85447  


vblts.ru supports vBulletin®, 2022-2024