LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > PHP > Memcache + xCache

Reply
 
Thread Tools Display Modes
  #1  
Old 09-30-2012, 07:54 PM
Jakobi Jakobi is offline
Member
 
Join Date: Sep 2012
Posts: 17
Default Memcache + xCache

Hello,

I have seen another post about this but wanted a little more information. I am trying to optimize as much as possible. Currently I have xCache installed, does installing Memcache offer anything?

I will be upgrading to the 2-CPU license in about a week so I can use the Litespeed Cache for my vBulletin and Wordpress sites.

I have 1 server, and a vBulletin site that gets a lot of traffic.

Is it worth having Memcache?

Thanks.
Reply With Quote
  #2  
Old 10-01-2012, 04:06 AM
Yogesh Sarkar Yogesh Sarkar is offline
Member
 
Join Date: May 2009
Posts: 42
If you are running suPHP (default mode on Litespeed), then xcache wouldn't work and you will need to use Memcache instead, along with eAccelerator in disk cache mode.
Reply With Quote
  #3  
Old 10-01-2012, 02:26 PM
Jakobi Jakobi is offline
Member
 
Join Date: Sep 2012
Posts: 17
I do have xCache installed and appears to be working great. I guess I didn't know if there was any advantages to having Memcache installed as well. Do you happen to know if there are any performance gains by using something alongside something like xCache? Thanks!
Reply With Quote
  #4  
Old 10-01-2012, 06:04 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,216
Memcache and xCache are different, xcache is opcode cache and used by php engine. memcache is a kind of variable cache -- it's used and configurable by web app like vBulletin. so for quick answer: xcache will speed up php code execution, memcache can be used by vBulletin to store some variables for fast access. so both cache will speed up vBulletin. if no vBulletin core or module configure to use memcache, the memcache don't help at all.
Reply With Quote
  #5  
Old 10-01-2012, 06:50 PM
Jakobi Jakobi is offline
Member
 
Join Date: Sep 2012
Posts: 17
Thank you. I think I will give it a try then. Right now I have this in my vBulletin config:

PHP Code:
    // ****** DATASTORE CACHE CONFIGURATION *****
    // Here you can configure different methods for caching datastore items.
    // vB_Datastore_Filecache  - to use includes/datastore/datastore_cache.php
    // vB_Datastore_APC - to use APC
    // vB_Datastore_XCache - to use XCache
    // vB_Datastore_Memcached - to use a Memcache server, more configuration below
$config['Datastore']['class'] = 'vB_Datastore_XCache '
Do you recommend based on your experience that this is better with Memcache? Or can I use them both here?

Also for my Wordpress W3 Total Cache I have the following all set to xCache:
  • Page Cache
  • Minify
  • Database Cache
  • Object Cache

In a week I am upgrading to a 2-CPU license to utilize LiteSpeed Cache on my VBSEO, vBulletin.

Do you recommend Memcache to be used with certain W3 Total Cache options?

Do I setup vBulletin to use just Memcache? Or can both be used? What do you recommend?

Thank you!
Reply With Quote
  #6  
Old 10-01-2012, 08:41 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,216
sorry, no actual experience on how to configure vBulletin regarding using memcache or xcache. you may have to decide yourself --- try one by one, and compare the performance.
Reply With Quote
  #7  
Old 10-01-2012, 08:43 PM
Jakobi Jakobi is offline
Member
 
Join Date: Sep 2012
Posts: 17
Ok thanks, I will stick with xCache, but found this:

http://www.vbseo.com/f2/what-does-vb...30/#post302255
Reply With Quote
Reply

Tags
memcache, xcache

Thread Tools
Display Modes

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 -7. The time now is 01:39 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.