June 19, 2013

Comment: APC or Memcached

… would probably use small local APC cache plus distributed memcached, running on the same set of boxes. Memcached is fast but even run locally it is much slower than APC. For…

Comment: APC or Memcached

… think it make sense adding the client to use APC as remote cache. MemcacheD is implemented pretty well and has decent client… you would write in PHP itself) – APC is faster because it is local not because memcached is slow – I think it gets…

Comment: MySQL Query Cache

…Anyway, using APC (or memcached if on multiple machines) is a much > better choice as … cache. What a stoopid comment! This are two different shoes! APC is a bytecode-cache and prevent php to parse the… and really NOTHING If you are smart you use eaccelerator/apc AND query-cache and you get response times with 0…

Comment: APC or Memcached

… technologies. But I have an interesting question about performance of APC and Memcache. Consider a scenario where “An application that is running… implementing caching strategy on above servers? 1: Assigning 100MB to APC on each webserver OR 2: Using a separate Mamcached enabled…

Comment: Cache Performance Comparison

APC is faster as a straight PHP call on the memory … the cache from a central location, which with memcached is possible but not with APC as it is PHP specific.  For…

Comment: APC or Memcached

…’s not so hard to make APC distributed as well. The distribution of cache entries in Memcached is managed by the client… a webservice, between the webservers. It allows you to use APC both for local caching, and distributed caching. The same method…

Comment: MySQL Query Cache

Reindl Harald, APC does more then just opcode caching. You can also use … as misc object cache from inside php, somewhat comparable to memcached but without networking and in the same process (eg no context switches) which makes it faster then memcached but less useful when you have more then 1 webserver…

Post: Read/Write Splitting with PHP Webinar Questions Followup

… storing $_SESSION in an in-memory data store such as Memcached or APC.  Store in $_SESSION only values that are ephemeral and…

Comment: Caching could be the last thing you want to do

… could sell. I found some benefit, but not significant, using memcached. There were huge gains to be made in three main… found standard opcode caching to be effective. Install and enable APC for very easy and large performance boosts. 2) Switching to…

Comment: MySQL Query Cache

… whether to cache or not per query. Anyway, using APC (or memcached if on multiple machines) is a much better choice as…