View Full Version : APC vs EAccelerator vs XCache
Deimos
07-26-2009, 03:45 PM
Just out of curiousity, which one do you use? (If any)
APC, EA or Xcache?
Any paticular reason for choosing either?
The VB tech staff member (who's name I forget) always says to use Xcache, but I'm a little concerned that it hasn't been updated since 2007.
They all serve the same purpose, there is hardly any difference performance wise.
I personally use APC as it is more actively maintained compared to eA and Xcache.
veenuisthebest
07-26-2009, 04:44 PM
yes its eva2000 aka George who always suggests XCache, which is the best.
JFYI, visit their news page. XCache 1.3.0 compatible with PHP 5.3 is under development.
Andreas
07-26-2009, 04:45 PM
Ther is not that much difference except:
XCache has separate segments for code and data
eAccelerator supports caching opcode on disk
I'd recommend APC as it is developed by the PHP team and is subject to be part of PHP 6 core.
Dismounted
07-27-2009, 06:09 AM
XCache is a little faster compared to APC, but APC is more actively maintained - take your pick.
RedWingFan
08-11-2009, 03:45 PM
My first encounter a couple of years ago with APC was not good: frequent crashes...even Apache was crashing. Found out the version I had wasn't all that good, so we upgraded it, and APC has been running flawlessly since then. Completely "hands off" since the upgrade, in fact.
For the miniscule performance gain others have mentioned, I won't bother with Xcache. I do know that based on server load averages, APC cut our server load in half. Nothing to sneeze at!
|Jordan|
08-21-2009, 03:53 PM
I use Xcache but i have to switch to something else. I'm getting lots of clogs and there's no fixes available for it. The support for Xcache itself isint that bad, but no one has concrete answers.
Dismounted
08-22-2009, 05:22 AM
As mentioned, APC is a very valid replacement to XCache.
R1lover
08-22-2009, 05:26 AM
xcache and it works great
|Jordan|
08-24-2009, 12:01 AM
I'm trying to switch to APC, but they stopped making windows builds and ive only found one place that has windows builds, but im not sure its trustable and i think they're old versions.
Stingray27
08-24-2009, 12:05 AM
Xcache all the way.
RedWingFan
08-24-2009, 12:19 AM
I'm trying to switch to APC, but they stopped making windows builds and ive only found one place that has windows builds, but im not sure its trustable and i think they're old versions.
Wish I could help. Anyone with the right tools could compile it on Windows from source code. I can compile a few things on a *nix system, but have never done so with Windows. I'd like to have a Windows build myself, just for my testing platform...
|Jordan|
08-24-2009, 02:44 AM
Here's the site i was talking about:
http://www.sitebuddy.com/PHP/Accelerators/apc_windows_binaries_builds
Sadly, they dont have recent builds.
I also don't know if the source is legitimate.
Shamil.
08-24-2009, 05:36 AM
XCache doesn't seem to play nice with IonCube, so today, I switched to APC :)
Marco van Herwaarden
08-24-2009, 06:46 AM
I'm trying to switch to APC, but they stopped making windows builds and ive only found one place that has windows builds, but im not sure its trustable and i think they're old versions.
See http://blog.harddisk.is-a-geek.org/index.php/dev/php/php-on-windows/ on how to compile your own on windows.
Paul M
08-24-2009, 11:38 AM
Hmmm, step 1 could be a show stopper :)
get visual studio 2008 .... and install it
Marco van Herwaarden
08-24-2009, 12:06 PM
I actually doubt that is really required, but there are also free versions available: http://msdn.microsoft.com/nl-nl/express/default(en-us).aspx
RedWingFan
08-24-2009, 05:45 PM
See http://blog.harddisk.is-a-geek.org/index.php/dev/php/php-on-windows/ on how to compile your own on windows.
Hi Marco,
That page shows how to compile PHP, but not APC. Still, it should not be too much different from compiling APC on *nix systems, other than hoping that the dependencies are not too difficult to figure out. I just don't know my way around Visual Studio 2008 enough to recommend anything here just yet. :(
Still learning after all these years! ;)
Marco van Herwaarden
08-25-2009, 06:54 AM
Hmm actually that page was linked from the official APC manual page. Didn't fully read it.
RedWingFan
08-25-2009, 01:20 PM
I'll have to look at that manual page myself, too. Sometimes semi-"official" builds are buried deep in a site somewhere...
|Jordan|
08-27-2009, 09:16 PM
I went back to Xcache and I think i fixed my Xcache issues. I loaded ioncube before Xcache and now i dont have any more issues with the compiler crashing.
imported_silkroad
09-09-2009, 10:29 PM
XCache doesn't seem to play nice with IonCube, so today, I switched to APC :)
Xcache for us.
We refuse to use any software that uses IonCube.
We do not run encrypted PHP code on our site, code we cannot peek into or modify, as a matter of policy.
We are "open source" server and "open PHP" all the way !
Marco van Herwaarden
09-10-2009, 10:34 AM
If you are running vBulletin, then you are not running open source software.
imported_silkroad
09-10-2009, 11:04 AM
If you are running vBulletin, then you are not running open source software.
Maybe not, but we can modify the code... so it is open "enough" "Open PHP" ...... Linux is open. Apache2 is open. PHP for vB is not encrypted, so that is "open source" in a manner of speaking, it is source code and it is open PHP.
Anything else Marco? Or do you want to argue semantics?
--------------- Added 1252584854 at 1252584854 ---------------
From Wikipedia (http://en.wikipedia.org/wiki/Open_source_software):
Although the OSI definition of "open source software" is widely accepted, a small number of people and organizations use the term to refer to software where the source is available for viewing, but which may not legally be modified or redistributed. Such software is more often referred to as source-available, or as shared source, a term coined by Microsoft.
:D ;)
Marco van Herwaarden
09-10-2009, 11:49 AM
"A small number of people" are still using it in the wrong way.
Open Source means that it may be changed and redistributed.
vBulletin is Visible Source, ie. it is not encrypted but it is copyrighted software and may not be distributed.
Dean C
09-10-2009, 12:49 PM
If you're using windows it may be worth investigating this:
http://blog.calevans.com/2009/09/06/wincache/
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.