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.
@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.
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.
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)
@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
Comments
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
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.
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.
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)
it is said for 5.4 and 5.5, Zend Opcache works better than APC