News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

IBuildings techPortal:
Understanding APC
October 07, 2010 @ 09:33:31

On the IBuildings techPortal today there's a new tutorial from Vito Chin that wants to help you understand what APC (the Alternative PHP Cache) is all about and get you on the road to using it in your application.

APC is a performance-enhancing extension. It should not be confused with a magic pill, although having it around does provide a positive impact on performance! If configured incorrectly, APC can cause unexpected behaviour, however when implemented optimally APC can be a useful weapon in your arsenal. In this post we will examine APC's capabilities and it's application both as an opcode cache and in its less common usage as a data cache.

He starts off by comparing/contrasting it with memcache, nothing that APC is more targeted towards PHP and is more useful for caching smaller bits of information (like objects). He talks about the importance of using APC for an application, what the system really caches and some of the limitations that come with it. There's code snippets to help illustrate some of the points and the article is rounded out with a look at file caching, the time-to-live setting and how you can monitor your cache's health.

0 comments voice your opinion now!
apc cache alternative tutorial memcache


blog comments powered by Disqus

Similar Posts

DevShed: Adding CSS to Handling Views with CodeIgniter

Mfana Ronald Conco's Blog: RabbitMQ and PHP Part 2 - Durable Queues and Persistent Messages

Felix Geisendörfer's Blog: Learning from the CakePHP Source Code (Part 1)

Digett.com: How to Theme the Comment Form in Drupal 6

WS02 Oxygen Tank: PHP SOAP Extension


Community Events





Don't see your event here?
Let us know!


laravel api podcast refactor interview release introduction community opinion threedevsandamaybe framework testing code language series developer wordpress list unittest install

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework