vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Board Optimization - datastore cache to XCache - boost your vBulletin (https://vborg.vbsupport.ru/showthread.php?t=141005)

Zia 04-02-2007 04:11 AM

Helo code Mokey..

do u mind to report it at
http://trac.lighttpd.net/xcache/
with ur info..

Thanks

Code Monkey 04-04-2007 03:16 AM

I had to turn this off. It doesn' seem to update the cache from the command line. Meaning, when a script that updates the datastore is run in a browser it works fine, when it's run as a server cron it does nothing. I'm not sure if it's a vBulletin issue or an xcache issue. I just have no time to look into it right now.

NeutralizeR 04-05-2007 08:23 PM

Quote:

Originally Posted by Code Monkey (Post 1219425)
I had to turn this off. It doesn' seem to update the cache from the command line. Meaning, when a script that updates the datastore is run in a browser it works fine, when it's run as a server cron it does nothing. I'm not sure if it's a vBulletin issue or an xcache issue. I just have no time to look into it right now.

Hi,

Thanks for the tip for:
PHP Code:

if(!defined('VBA_SCRIPT'))
{
    
$config['Datastore']['class'] = 'vB_Datastore_XCache';


I use this hack for the cron:
https://vborg.vbsupport.ru/showthread.php?t=123719

Maybe you should give a try because it doesn't seem i have any cron issues...

Code Monkey 04-06-2007 03:39 AM

LOL, very cute showing me my own hack. However, I am refering to server cron. I have some very intensive scripts on certain sites that run every few minutes and need to be run using the command line.

Now that the xcache forums are back up I see it does not support cli yet. So I will wait. Meanwhile, it does a great job caching and optimizing the PHP scripts.

foulplay 04-06-2007 09:48 AM

I just installed xcache and my boards are running smooth and fast.

I will install this hack once all the bugs have been fixed.

NeutralizeR 04-06-2007 10:05 AM

Quote:

Originally Posted by Code Monkey (Post 1220797)
LOL, very cute showing me my own hack. However, I am refering to server cron. I have some very intensive scripts on certain sites that run every few minutes and need to be run using the command line.

Now that the xcache forums are back up I see it does not support cli yet. So I will wait. Meanwhile, it does a great job caching and optimizing the PHP scripts.

I knew i'd seen your name before :P

I also have cronjobs set to run every few minutes (via cpanel - rsync between multiple servers)

They are fine for me.

Code Monkey 04-07-2007 01:34 AM

Quote:

Originally Posted by NeutralizeR (Post 1220936)
I knew i'd seen your name before :P

I also have cronjobs set to run every few minutes (via cpanel - rsync between multiple servers)

They are fine for me.

That's very interesting since the xcache website says it does not support the command line interface at this time.

IsMaR 04-07-2007 05:04 AM

how do install xcache in first place

NeutralizeR 04-07-2007 05:14 AM

Quote:

Originally Posted by Code Monkey (Post 1221574)
That's very interesting since the xcache website says it does not support the command line interface at this time.

Maybe we are still talking about the different things but whatever :) Peace...

TECK 04-22-2007 04:11 PM

Personally, I would not go this way.
I prefer installing memcached (for datastore) then use XCache for the rest of the php files.
From my tests, this combination improves the VB performance by over 250%. Expecially if you use 2 servers or more for your site.

An example: With the above setup, the forumhome memory usage drops from 3,500KB to 720KB.
The rest is cached by the memcached/XCache combo.

Still, that does not say your code is bad. Congrats on a good idea. :)


All times are GMT. The time now is 08:49 AM.

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.01307 seconds
  • Memory Usage 1,741KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete