News Feed
Sections




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

PHPBuilder.com:
Build Blazing Fast PHP Websites with Memcached Distributed Caching
July 29, 2011 @ 11:07:53

On PHPBuilder.com today Jason Gilmore has written up a new tutorial about using memcached distributed caching for better performance in your web applications.

You probably know one of the easiest ways to improve performance is by caching all or parts of a page. But what might not be so obvious is exactly how this is accomplished. As it happens, a great solution called Memcached makes it trivial to incorporate caching into your website with great effect. In fact, relied upon by some of the largest websites in the world, among them Facebook, Twitter, Zynga, and YouTube, Memcached has essentially become the de facto website caching solution!

He walks you through installing the memcache extension for PHP (from PECL) and includes a bit of sample code that caches some fetched MySQL results to to the memcache server. With the extension installed you're just a few simple function calls away from better performance.

0 comments voice your opinion now!
memcache memcached performance distributed cache tutorial


blog comments powered by Disqus

Similar Posts

Anthony Ferrara: It's All About Time

Kevin Schroeder: Why is FastCGI /w Nginx so much faster than Apache /w mod_php?

Brian Moon's Blog: Using ini files for PHP application settings

Master Zend Framework: Change Layout in Controllers and Actions in Zend Framework 2

O'Reilly: Migrating Web-Based PHP Applications to Ajax


Community Events

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


conference introduction community library api interview series configure application podcast laravel php7 opinion example composer framework install performance symfony2 release

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