Monday, April 7. 2008ATK and Caching
In previous posts by my colleagues Martin and Lineke you could already read that caching is becoming important when you are going to build scalable web applications. For many projects we use ATK as our framework, but it didn't have a caching API. So in the core of our products we only use file caching because that's available on all systems. If you wanted to use an external cache, for example Zend Platform, this was mostly done in a custom module. This made sure we didn't get large if-constructions in the core products to check for availability of an external cache.
That was, until yesterday... because now there is a cache object (atkCache) available in the ATK SVN trunk. The new atkCache class is a factory class, which builds and returns instances of atkCache which has all the methods to communicate with an external cache to handle the actual storage and retrieval. At this moment atkCache has support for the following caching backends: Continue reading "ATK and Caching"
Posted by Sandy Pleyte
at
16:41
| Comments (0)
| Trackbacks (0)
Defined tags for this entry: apc, atk, caching, eaccelerator, memcached, performance, xcache, zend platform
Wednesday, January 30. 2008Different methods of caching
Because we encounter PHP more and more in the enterprise market, the performance demands of websites we build are becoming ever more challenging. The usefulness of caching is often underestimated by developers (myself included). When using a lightweight framework like Code Igniter it is easy to assume caching is not needed or not necessary; still there are websites where performance optimization is needed and it is important to think about the performance and caching strategy beforehand. When writing the technical specifications for a high performance website the developer needs to be able to make the best choice for optimization.
For optimizing the performance of a website there are several techniques.The choice of the framework or CMS is important and the performance demands are a factor when determining which framework or CMS will be used, but it doesn't stop there. Continue reading "Different methods of caching"
(Page 1 of 1, totaling 2 entries)
|
Blog
