Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

APC, XCache, Memcache and Zend OPCache?

Hey guys,

I know this may be discussed before, but the situation is a bit different now. APC seems to be replaced by Zend OPCache.

Can I assume that with PHP<=5.3 and below, the best bet is APC+Memcache, while PHP>=5.4 would be OPCache+Memcache?

Comments

  • nfnnfn Veteran
    edited January 2014

    I use Zend OPCcache + APCu with great results and a lower memory footprint.
    I don't use Memcache with a single VPS/Server, only in a multi environment.

    Edit: Changed APCU to APCu

    Thanked by 1jrdai
  • @nfn said:
    I use Zend OPCcache + ACPU with great results and a lower memory footprint.
    I don't use Memcache with a single VPS/Server, only in a multi environment.

    What is your PHP version?

  • I use apc for caching op code and then i use memcache for objects caching since it makes it easy to share obejcts between more nodes in the feature with out changing ur code base.

  • nfnnfn Veteran
    edited January 2014

    jrdai said: What is your PHP version?

    I'm using 5.5.8 from dotdeb

  • sleddogsleddog Member
    edited January 2014

    nfn said: I'm using 5.5.8 from dotdeb

    Then you have to use the builtin opcache -- http://php.net/opcache -- as APC isn't available.

    Whether or not you use memcache in addition is your choice.

  • xyzxyz Member
    edited January 2014

    sleddog said: APC isn't available.

    He made a typo, but did say APCu (APC user cache component only) as opposed to full APC.

  • And unless you are using a distributed multi server environment, there's literally no meaning in using memcache. You will get better performance using APC (< PHP 5.5)

  • jrdaijrdai Member
    edited January 2014

    @ironhide said:
    And unless you are using a distributed multi server environment, there's literally no meaning in using memcache. You will get better performance using APC (< PHP 5.5)

    it is said for 5.4 and 5.5, Zend Opcache works better than APC

Sign In or Register to comment.