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

SitePoint PHP Blog: Simple Captchas with PHP and GD

DevShed: Introducing the Flyweight Pattern with PHP 5

Fabian Schmengler's Blog: Anonymous function calls in PHP

The Bakery: Eight New Items (Components, Tutorials & Helpers)

Ruslan Yakushev's Blog: How to install PHP PEAR and phploc on Windows


Community Events





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


opinion language framework composer community series voicesoftheelephpant version threedevsandamaybe release api introduction symfony list interview unittest configure laravel conference podcast

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