vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   APC vs EAccelerator vs XCache (https://vborg.vbsupport.ru/showthread.php?t=219509)

Deimos 07-26-2009 03:45 PM

APC vs EAccelerator vs XCache
 
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.

unp 07-26-2009 03:54 PM

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

Quote:

Originally Posted by |Jordan| (Post 1873026)
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/Acceler...inaries_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

Quote:

Originally Posted by |Jordan| (Post 1873026)
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/i...hp-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 :)

Quote:

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/expr...lt(en-us).aspx

RedWingFan 08-24-2009 05:45 PM

Quote:

Originally Posted by Marco van Herwaarden (Post 1873176)
See http://blog.harddisk.is-a-geek.org/i...hp-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

Quote:

Originally Posted by ct2k7 (Post 1873147)
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

Quote:

Originally Posted by Marco van Herwaarden (Post 1882458)
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 [DATE]1252584854[/DATE] at [TIME]1252584854[/TIME] ---------------

From Wikipedia:

Quote:

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/


All times are GMT. The time now is 10:29 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.01131 seconds
  • Memory Usage 1,764KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (26)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete