![]() |
APC, Memcache, and xcache
Hi Everyone,
I have a "big board" (30,000 active users, 1.3 million posts, around 500 concurrent users at normal peaks), but never used (or know much about) PHP Accelerators / Caches. In a recent conversation over at vB.com, it was suggested that future versions of vBulletin will make great use of APC and Memcache. So I installed both APC and Memcache, and I set the config.php Datastore to APC.
Edit: This particular site is running on a single Enterprise Intel Quad Core Xeon Server. |
On a single server setup you are better off running xcache. Xcache has a web utility that lets u see its usage I am unsure on the others.
Also you only want to run one cache system. Memcache is the recommended for a multi server network as you can then run one memcache server that stores all the cache for all your servers making life allot easier. I am not a pro but this is what I get from most readings or conversations. |
The only thing I have on my dedi server is XCache and it's working fine.
|
Great, thanks, Everyone. I ditched Memcache, and switched from APC to Xcache. I've noticed some mods -- like PhotoPost vBGallery -- are incompatible with Xcache, tragically. Just something I will have to watch out for in the future. :)
|
Photopost should still be able to run even xcache it just doesnt fully utlilize the API. If it doesnt I would complain to the mod maker.
|
Quote:
|
Ah sounds like they are not following vbulletin standards for coding and having conflicts with it. Interesting to know.
|
Quote:
Either way, any of them will do the trick as far as opcode caching is concerned. APC is handled by the same developers who work on PHP, so that might have something to say for it. |
Xcache currently beats APC as far as which one is faster. Until you start running a dedicated cache machine then memcache becomes superior.
|
Quote:
As far as which one is faster, I have seen different results, but this benchmark is pretty accurate: http://2bits.com/articles/benchmarki...-compared.html Quote:
Myself, I tend to stick with APC just because the knowledge of the authors when it comes to PHP is intimate. |
Quote:
|
How much ram is recommended when using a cache? My dedicated server has 1Gb, is that too little for it?
|
It depends on the cache time, cache size, and general size of the board.
|
Well im going to put a new website/forum on the server. I expect it to generate a lot of traffic. The part of the website that will be using the most traffic/resources will be a perl script that reads data from remote servers and compiles statistics.
What cache time and cache size should i initially use? I have another server computer that i use for game servers, it has 4GB of memory and 3GB are free most of the time. Can i install memcache on that one and have it share with the web server? Both servers are in the same location (a few meters away from each other). |
All times are GMT. The time now is 07:57 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|