Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Big Board Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Any of you fellow big boards using datastore caching in 3.6.x? Details »»
Any of you fellow big boards using datastore caching in 3.6.x?
Version: , by telc telc is offline
Developer Last Online: Mar 2012 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 10-19-2006 Last Update: Never Installs: 0
 
No support by the author.

Any of you guys using APC/memcached/FileSystem datastore caching in 3.6.x?

I am wondering what query hits I will save on from enabling it.

Will I only save on a single select from the datastore table when a page is loaded?

I can't find much documentation on it another then how to enable it.

Have any of you guys noticed an improvement or any problems after enabling it?

Show Your Support

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

Comments
  #12  
Old 11-16-2006, 12:46 PM
Milez Milez is offline
 
Join Date: Jan 2002
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am sorry I have looked and cannot find this datastore caching setting in Vb? Where is it?

I am running eAccelerator. Do people find APC is better for PHP caching?

About memcached...After reading the memcached wiki they mention that queries have to be reformed to use memcached. Is that so with Vbulletin? Or can you just install it and it works?
Reply With Quote
  #13  
Old 11-17-2006, 06:58 AM
orban orban is offline
 
Join Date: Jan 2005
Posts: 445
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was using FileSystem (?) with APC, but switched to memcached yesterday, bit hard to tell the difference yet.$

vBulletin only supports memcached for parts of the datastore and nothing else. My next project after template cache + sphinx search will be memcached for vbulletin (caching everything that is possible, from styles to languages, forums, threads, posts, users).
Reply With Quote
  #14  
Old 11-17-2006, 02:23 PM
ubuntu-geek ubuntu-geek is offline
 
Join Date: Oct 2004
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by orban View Post
I was using FileSystem (?) with APC, but switched to memcached yesterday, bit hard to tell the difference yet.$

vBulletin only supports memcached for parts of the datastore and nothing else. My next project after template cache + sphinx search will be memcached for vbulletin (caching everything that is possible, from styles to languages, forums, threads, posts, users).
Nice..
Reply With Quote
  #15  
Old 11-18-2006, 02:20 AM
mute mute is offline
 
Join Date: Dec 2002
Location: Phoenixville, PA
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We cache some non standard stuff in memcache. It started as just tossing more stuff into the datastore, but has since evolved to include templates, styles, and hopefully soon post and sig caches, archived posts, etc.
Reply With Quote
  #16  
Old 11-18-2006, 08:54 AM
orban orban is offline
 
Join Date: Jan 2005
Posts: 445
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you post a few code bits?

vB is so terrible. The language is in the same query as the user information, so I fear without code modification I won't get anywhere.
Reply With Quote
  #17  
Old 11-18-2006, 05:17 PM
mute mute is offline
 
Join Date: Dec 2002
Location: Phoenixville, PA
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll talk to my coworker about it. For the first time since we updated to 3.6 we've got our templates back in memcache, so the code is a bit beta.

It'll probably be a bit before it is really sharable

It is also pretty messy in that it is not really able to be done w/ a plugin. So far we have an external memcache class and there will be file modifications that need to be done :/
Reply With Quote
  #18  
Old 11-18-2006, 06:20 PM
orban orban is offline
 
Join Date: Jan 2005
Posts: 445
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For templates I use my own template cache addon, that's awesome (20 times faster on big templates like postbit)

But mainly interested in how to cache languages and stuff..mm...f
Reply With Quote
  #19  
Old 12-15-2006, 06:54 PM
vbullfan vbullfan is offline
 
Join Date: Dec 2006
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We have APC on webserver and Memcached on db. Both do wonders for our load.
Reply With Quote
  #20  
Old 12-15-2006, 08:46 PM
orban orban is offline
 
Join Date: Jan 2005
Posts: 445
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How did you implement memcached? Just for the datastore?
Reply With Quote
  #21  
Old 12-18-2006, 04:31 AM
Zia's Avatar
Zia Zia is offline
 
Join Date: Dec 2005
Location: golpo.net
Posts: 931
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hello..
we got eAcclerator - with 32 MB of ram
we got 256 Mb of ram.

now planning to install memcache ..
any of u tell me... eAcclerator & Memcache can stay together ?
How much ram needed for Memcache ?

w aslo got ioncube installed.

Thnx.
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 07:44 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04480 seconds
  • Memory Usage 2,297KB
  • 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_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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