The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Most of us who visit vb.org have forums that are no longer stock. Some hacks, for as cool as they are, will increase the server load via additional queries and other means. But by the same token there are also certain standard features that are resource hogs for whatever reason. This is by no means a criticiszm on VB or anyone who writes hacks. I love VBulletin and I have the utmost respect for all hackers.
I have always been faced with the dilemma of high server loads with my forum. And I have a large number of hacks installed that I either got from vb.org or created it myself. I am limited by the hardware that runs my board. During peak times I have had occasional load spikes of 25-30 and they are usually averaging aroung 10-15. I used FireFly's hack to selectively disable features of my board at high server loads and I added on a whole bunch of other features to his hack to be able to keep the board up without too many hiccups. I have rewritten some of my hacks to make them server friendly at high loads. And recently I began analyzing the other hacks and the standard features of VB to see if I can squeeze out more horsepower out of them. I must also add that I am currently at 715,000 posts in my forums. And this number is growing by 2000-3000 per day. Things I have discovered so far: I have the thread preview hack. Everyone including myself loves this hack and if I were to uninstall it, my members would kill me. I did some analysis on the code, I rewrote it and now my forum pages are loading much much faster than they originally were. The black dots next to the threads are the devil. ![]() So far the above mentioned hakcs have just helped me with the forum display. But users must also read the threads and I realized that per each thread page, there are 3 queries made into the post table to display the contents of a thread. I managed to divert one query to the thread table, which in terms of count is about 10% of the post table, and in terms of size it is about 10%-15% of the physical size of the post table. As for the 2 other queries, I was able to combine them into 1 query and still maintain original functionality. Now I have one query into the thread table and only one query into the post table. But ultimately, my threads are loading lightning fast even when the server loads are in the low teens. Such speeds was only seen during the graveyard shift hours of the forums. I don' t know if anyone would be interested in the thread view optimizations that I did. But I am also wondering if anyone else has done anything to optimize their forums. Any feedback on this will be greatly appreciated. |
#2
|
||||
|
||||
![]()
I wouldnt mind having a thread view optimization hack
![]() |
#3
|
||||
|
||||
![]()
What I did was upgrade to vB3, which incorporates some things like thread preview, but it comes highly optimized already. It's got deferred thread views, attachment views, etc. all inbuilt.
When I ported some of my custom hacks over, I've had to modify the code of the hacks substantially to make them better as they pushed the stock vB3 load higher. I've learned never to use anyone else's code without checking it through and optimizing it first. ![]() |
#4
|
||||
|
||||
![]()
There are already some hacks out which just optimize vb2.
for example the dotjoin hack by pwrsneek, the cached threadviews by ??, optimization of forumhome by myself and anotherone by filburt. so i'm sure a threadoptimization hack would be very good if you'd release it ![]() |
#5
|
||||
|
||||
![]()
Add an index to the post-table - that did wonders for me
![]() - miSt |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|