News Feed
Sections




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

Johannes Schlüter:
MySQL, Memcache, PHP revised
October 02, 2012 @ 09:27:54

Johannes Schlüter has a recent post highlighting an interesting PHP extension that can connect memcache with your MySQL server via PHP, the PECL mysqlnd_memcache extension.

Now this blog entry is tagged a s PHP. Hs is that coming into play? - Well, on the one side we have this fast memcache interface, which allows to access almost arbitrarry data from the database. On the other side we have our PHP mysqlnd plugin interface where we can add special features, like query caching or load balancing, transparently to any PHP application. Why not combine those two things? - Good question. That's what we have done in the PECL mysqlnd_memcache PHP extension.

He includes some sample PHP code showing it in action - two examples: one using the "mysqlnd_memcache_set" method to set a memcache server on the MySQL connection and another showing two queries and how they're handled behind the scenes by this driver plugin.

0 comments voice your opinion now!
mysql mysqlnd memcache driver pecl extension


blog comments powered by Disqus

Similar Posts

Gergely Hodicska's Blog: What is new in PHP 5.3 - part 3: mysqlnd

Oracle Technology Network: Scaling a PHP MySQL Web Application, Part 1

DevShed: MySQL Table Prefix Changer Tool in PHP

IBM developerWorks: U2 PDO Driver Tutorial, Parts 1 & 2

PHPBuilder.com: Create a Dynamic Username Validator with PHP, MySQL and jQuery


Community Events

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


language release community interview laravel5 series introduction opinion framework laravel video voicesoftheelephpant extension api development library conference podcast psr7 unittest

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