Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[DBTech] vB Optimise 2.0.1 (Lite) Details »»
[DBTech] vB Optimise 2.0.1 (Lite)
Version: 2.0.1, by Deceptor Deceptor is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Board Optimization - Version: 3.8.x Rating:
Released: 12-18-2008 Last Update: 04-23-2010 Installs: 1096
Uses Plugins
Additional Files  
No support by the author.

vB Optimise Lite

The newly revamped vB Optimise was created for vBulletin 4, but has now been made compatible for vBulletin 3.8. In this release I have re-coded vB Optimise from the gound and focused stability over features, you'll notice Phrase Caching and vBAdvanced Integration have bit the dust, this is to maintain a sync state between this version and the vBulletin 4 release.

Professional version & feature list available @ www.DragonByte-Tech.com/forum
Priority support for Lite version is handled at the Developers Website.


What does it do?

vB Optimise is intended to optimise vBulletin software by integrating several PHP "cachers" and handling data before vBulletin. This works by encountering and handling data prior to vBulletin in order to skip the arbitary execution that would be more server intensive.

Real-Life Statistics

We've teamed up with some Big Forums to show you the impact of vB Optimise, you can view this public chart which shows both our statistics and theirs:

View Public vB Optimise Resource Statistics

Features
  • Supported Extensions
    • APC
    • eAccelerator
    • Memcache
    • XCache
    • WinCache
    • Filecache
  • Style Cacher
    Caches style data to globally reduce a query within all vBulletin forum-based pages.
  • Template Cacher
    Caches template data to globally reduce a query within all vBulletin forum-based pages.
  • Datastore Cacher
    Forces custom datastore items from modifications (including those from vB's blogs) to use your configured Datastore Cache method instead of being forced into the database. This reduces page queries by where affected.
  • vB CMS Template Caching
    (Automatic) Corrects many uncached templates within vB CMS to reduce upto 20+ queries on CMS pages (number varies based on content).
  • Optimal Settings Check
    Provides a quick interface to identify possible settings which can be changed on your forum for further optimisation.
  • Self-System Tester
    Provides a relatively straight-forward system check to ensure your vB Optimise installation works fully.
  • Automatic Cache Flusher
    Automatically flushes cache within the Admin CP based on specific triggers to make sure content does not remain stale on your forum.
  • XCache Authentification
    Supports XCache Admin Authentification by allowing you specify the username/password in a configuration if needs be.

Features - Pro
  • Notices Cacher
    Caches users dismissed notices to reduce a near-global query within all vBulletin forum-based pages.
  • Showgroups Cacher
    Caches the showgroups query which becomes more intensive as your user-base grows.
  • Forum Display Query Enhancement
    Enhances a stock vBulletin query within Forum Display to speed up the page.
  • Forum Home WOL Cache
    Caches Forum Home "Who's Online" to remove an intensive query and allow larger sites to display this data without impact.
  • vB Cache Override (Feature not available on vBulletin 3)
    Ability to override vBulletins new built-in database cacher for the CMS / Forum Sidebar Blocks to remove anything from 1 to 20+ queries based on your content.
  • Full Guest Caching
    Ability to cache entire pages and serve them saving not only hundreds of queries but upto 90% of CPU processing towards Guests.
  • Statistical Resource Savings
    Ability to see just exactly how many queries per day vB Optimise has saved your database. You'll be surprised at the numbers.
  • Forum Resource Statistic
    Shows off vB Optimise resource saving statistics directly within forumhome statistics.
  • ....and more!

Release Notes

If you've used vB Optimise before you'll be aware the previous version had phrase caching, however this caused complications with the way phrases are used within vBulletin so it has not been ported over at this time.


Available Translations
v1.6.0 French - Thanks to finereader

Change Log

[>>] Version 2.0.1
New launch for vB 3.8

[>>] Version 1.6.1
Automatic Cache Flusher has additional parameters to make sure no data is stale
Resolved Bug: Potential PHP error when using eAccelerator which cannot flush within Admin CP on certain actions

[>>] Version 1.6.0
New OpCode Cacher Support: WinCache

[>>] Version 1.5.0
Resolved Bug: Style cache may have fetched ID 0 instead of correct file
Resolved Bug: Filecache permissions may not have worked
Optimisation: Re-wrote some base code to enhance operations.

[>>] Version 1.0.1
Added XCache Authentification Support
Added Filecache Support

Support

Priority support will be handled at DBTech.

FAQ

Q: I have WinCache installed, but vB Optimise tells me it's not?
A: WinCache only introduced OpCode support in version 1.1, if you're using version 1.0.x you will need to upgrade.

Q: I'm using the XCache method, flushing doesn't work?
A: If you have XCache authentification, turn the admin option on within vB Optimise Settings, then edit ./vboptimise/config.php and specify your XCache username/password. Alternatively you can disable XCache authentification within php.ini:
Code:
xcache.admin.enable_auth = Off
Q: I have eAccelerator installed, but vB Optimise tells me it's not?
A: eAccelerator does not provide the caching extension by default, you will need to recompile PHP with additional flags. For more information read eAccelerator documentation located here: http://eaccelerator.net/wiki/CompileConfiguration (Specifically look at: with-eaccelerator-shared-memory)

Download Now

File Type: zip [DBTech] vB Optimise Lite v2.0.1.zip (30.8 KB, 2168 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #422  
Old 12-22-2008, 07:38 PM
dtv100 dtv100 is offline
 
Join Date: Apr 2007
Location: in the south of the north
Posts: 307
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Deceptor View Post
dtv100 - I have considered this, but it may be unsecure. That said, I can place it in the next version purely as being optional
can i pm you for topic relate to security and my site with this hack ?
Reply With Quote
  #423  
Old 12-22-2008, 07:42 PM
tmc tmc is offline
 
Join Date: May 2008
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Deceptor View Post
tmc - While I agree it could be holidays, the templates query is the largest query vB executes, so I would expect some impact. In anycase, it'd be nice to see the results over a longer period
Well, I'm sure most showthread queries surpass the template queries in size.. Although I agree it's a most ridiculous way to use the "V" in "MVC" so I hope that changes in 4.0. I'm hoping for something like CodeIgniter where we get a Views folder with all the template files. (And of course the means in default vBulletin to cache these.)

I can't think of a better word.... but would it be better for "latency" if we were to only use the Xcache VAR cache for this modification, and tell vBulletin to use nothing but Memcached? (Meaning: So not everything is trying to use the same cache at once)

I was a little foggy on that anyway, because I'm aware that Memcached is capable of a lot more than just caching vB's Datastore, but it seems that if you don't configure vBulletin to use Memcached for the Datastore, then Memcached won't bother caching any other objects into memory, such as query results, etc.

So I guess we can't pick and choose, huh?

I guess I'd be fine with that anyway... This mod = Xcache's var cache, vBulletin = Memcached
Reply With Quote
  #424  
Old 12-22-2008, 07:47 PM
Deceptor's Avatar
Deceptor Deceptor is offline
 
Join Date: Dec 2008
Location: England
Posts: 514
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tmc - This mod can already use XCache while vBulletin uses Memcache, unless I'm missing your point?

dvt100 - The security flaw would be, any other administrator would be able to see your XCache password, and while the only threat would be if you had the XCache page which required user/pass, they could login. Nothing more or less, as far as I know.
Reply With Quote
  #425  
Old 12-22-2008, 07:51 PM
dtv100 dtv100 is offline
 
Join Date: Apr 2007
Location: in the south of the north
Posts: 307
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Deceptor View Post
tmc - This mod can already use XCache while vBulletin uses Memcache, unless I'm missing your point?

dvt100 - The security flaw would be, any other administrator would be able to see your XCache password, and while the only threat would be if you had the XCache page which required user/pass, they could login. Nothing more or less, as far as I know.
ok thanks i glad this wont affect me at all .would be nice if next update can have my request as optional thanks.
Reply With Quote
  #426  
Old 12-22-2008, 07:58 PM
tmc tmc is offline
 
Join Date: May 2008
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Deceptor View Post
tmc - This mod can already use XCache while vBulletin uses Memcache, unless I'm missing your point?
Yeah, a little bit. haha.

It's fine, though. I can't really state it any better. I'll just have to mosy on over to vB dot com and ask them if I can use Xcache for the Datastore, but still have Memcached do all the non-Datastore object caching. Meaning: Memcached can do LOTS more than store the measly 1MB of Datastore data, but I think vBulletin forces me into using Memcached for BOTH or not at all.

I just figured since you poked your head around inside all the vB internals you may already know the answer.
Reply With Quote
  #427  
Old 12-22-2008, 08:02 PM
Deceptor's Avatar
Deceptor Deceptor is offline
 
Join Date: Dec 2008
Location: England
Posts: 514
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The only thing vBulletin caches on its own using any cacher is the datastore, unless you're referring to other things vBulletin caches aside from the datastore? Sorry I'm not getting your point
Reply With Quote
  #428  
Old 12-22-2008, 08:40 PM
tpearl5's Avatar
tpearl5 tpearl5 is offline
 
Join Date: Nov 2001
Location: PA
Posts: 1,014
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tmc View Post
While I'd say this is certainly fantastic.... could it be the holidays, mostly? You should see a relative decrease in all traffic, CPU and RAM utilization, and so forth if that were the case.

I just can't imagine disabling 2-3 global queries has such a large impact... Esp w/ one of them being such a small query.. (The style one)

Of course if it continually stays that low, good work Deceptor!!
Like I said, data is similar from last week. Keep in mind that this is the amount of data being passed between two servers and not from server to user. The decrease in data transferred to users is minimal.
Reply With Quote
  #429  
Old 12-22-2008, 10:44 PM
ThorstenA's Avatar
ThorstenA ThorstenA is offline
 
Join Date: Nov 2004
Posts: 669
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After installing and using Filecache as only method I can use, FORUMHOME is around 30% slower than without installing this mod even if there are 3 queries less. Could there be something I did wrong?
Reply With Quote
  #430  
Old 12-22-2008, 10:50 PM
Deceptor's Avatar
Deceptor Deceptor is offline
 
Join Date: Dec 2008
Location: England
Posts: 514
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ThrostenA - Filecache is not the best, and if your servers harddrives aren't that fast you'll notice slower page generation times. Try use a difference cache method, XCache seems to have the best results. If you're unsure how to install the extensions, ask your host for assistance
Reply With Quote
  #431  
Old 12-23-2008, 12:48 AM
Jim O's Avatar
Jim O Jim O is offline
 
Join Date: Mar 2006
Location: my house
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Deceptor,

I'm using version 1.3.2 of the mod on a 3.7.4 board with vBSEO installed. It installed easily and evidently correctly. I can see that it is cutting down on the db queries as billed and caching some of the data. I am using XCache and enabled that feature. I can see from the XCache admin panel that the mod is accessing the variable cache. I am getting warnings for many of the template entries (eg vbactivecache_template_xxxxxx) as follows:

Quote:
Warning: htmlspecialchars() expects parameter 1 to be string, array given in /path/to/xcache/admin/edit.tpl.php on line 4
The cache in such cases appears to be empty.

Any ideas on why this is happening and if there is an effect?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:07 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09192 seconds
  • Memory Usage 2,351KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete