Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Plugin Based Template Cache Details »»
Plugin Based Template Cache
Version: 1.0.3, by orban orban is offline
Developer Last Online: Oct 2012 Show Printable Version Email this Page

Category: Board Optimization - Version: 3.6.0 Rating:
Released: 07-22-2006 Last Update: Never Installs: 153
Uses Plugins
Additional Files  
No support by the author.

Removed on author's request.

Show Your Support

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

Comments
  #322  
Old 03-24-2007, 07:08 PM
amcd amcd is offline
 
Join Date: Oct 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Weekends are very busy on my forum. I will try this next week and tell you.
Reply With Quote
  #323  
Old 04-07-2007, 05:09 AM
COBRAws's Avatar
COBRAws COBRAws is offline
 
Join Date: Oct 2002
Location: Buenos Aires
Posts: 864
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is great orban, thank you very much I see some performance improvement now.
Reply With Quote
  #324  
Old 04-10-2007, 11:43 AM
bigbadbob0 bigbadbob0 is offline
 
Join Date: Mar 2005
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed this mod hoping to recover some of the increase in load I saw after upgrading from 3.0.10 to 3.6.5.

But this mod didn't help. The templates directory has 230 files making up 7.2MB of templates in it and APC shows what looks to be all of those being stored in its cache. So it is running.

However, cricket (and the scripts feeding cricket) show no discernable difference from before installing this mod and afterwards. See the attached picture. The green is the length of time in milliseconds it takes to get /forum/index.php. The red is the number of people currently browsing the forum (including guests, 15 minute timeout). You can see the big uptick in green last weekend, that was the upgrade to 3.6.5. We spent the week being slow. Easter weekend was dead for us, during which I installed this mod. Then yesterday was back to being slow.

I guess its time to upgrade hardware.
Reply With Quote
  #325  
Old 04-10-2007, 11:54 AM
orban orban is offline
 
Join Date: Jan 2005
Posts: 445
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you have graphs of your server load? And MySQL load?

Also forum/index.php isn't the best choice, try showthread/forumdisplay...

What kind of server are you running this on?
Reply With Quote
  #326  
Old 04-10-2007, 12:31 PM
amcd amcd is offline
 
Join Date: Oct 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What did you use to get that graph?
Reply With Quote
  #327  
Old 04-10-2007, 01:10 PM
bigbadbob0 bigbadbob0 is offline
 
Join Date: Mar 2005
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've sent orban the server hosting these graphs for him to look at the other metrics I monitor, I don't like having them public.

As I told him, I started monitoring forumdisplay but only after my upgrade to 3.6.5. Oops.

The web and db server are both FreeBSD 5.2.
Reply With Quote
  #328  
Old 04-10-2007, 01:17 PM
bigbadbob0 bigbadbob0 is offline
 
Join Date: Mar 2005
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by amcd View Post
What did you use to get that graph?
The software that manages keeping track of the data and generating the graphs is called Cricket. It's similar to MRTG if you've heard of that. http://cricket.sourceforge.net/

Once you get cricket setup and actually working (not the easiest thing to do) you can branch off of the example http performance demos and add in a datasource to keep the number of users online right now.

The script I use to get the number of users is:

Code:
#!/bin/sh

num_users_line=`fetch -o - http://www.mysite.com/forum 2>/dev/null | grep "Currently Active"`                                                          
echo `echo "$num_users_line" | perl -e 'while(<>){print $1 if m/: (\d+)/;}'`
If you actually get cricket up and running (or someone does) and wants me to share the cricket conf I use to get that particular graph I'd be happy to share.
Reply With Quote
  #329  
Old 04-11-2007, 05:45 PM
|Jordan|'s Avatar
|Jordan| |Jordan| is offline
 
Join Date: Nov 2004
Posts: 479
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My cache keeps getting corrupt every few days. Specifically in the way it handles javascript. All my javascripts stop working and page elements get removed as a result.

Why is this happening?
Reply With Quote
  #330  
Old 04-11-2007, 05:51 PM
orban orban is offline
 
Join Date: Jan 2005
Posts: 445
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Were you editing templates before they broke?
Reply With Quote
  #331  
Old 04-11-2007, 06:22 PM
|Jordan|'s Avatar
|Jordan| |Jordan| is offline
 
Join Date: Nov 2004
Posts: 479
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, but then i deleted all the cached files. And then about a day later they broke again without me changing anything.
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 03:51 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.04602 seconds
  • Memory Usage 2,307KB
  • Queries Executed 25 (?)
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
  • (1)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
  • (1)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
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete