News Feed
Jobs Feed
Sections




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

Pureform Blog:
Memcache & MySQL PHP Session Handler
May 05, 2009 @ 12:57:09

On the Pureform WordPress blog is a quick tutorial on using memcache and MySQL to work with PHP's session handler to create a Write Through Cache.

I have recently read Cal Henderson's book, Building Scalable Web Sites, and was inspired 6 ways from Sunday on just about every approach I take to web development. [...] One of the major concepts I picked up was that of Write Through Caches. Write Through Caches are explained in depth all throughout the internetS, so I leave you with this: tinyurl.com/cgeobs.

He provides a script that, when plugged into the session handler works with memcache and MySQL to store session information for easy read/write on either a local or remote MySQL server (local memcache of a session on the MySQL instance). A simple usage example and MySQL table are also included.

0 comments voice your opinion now!
memcache mysql session handler writethroughcache


blog comments powered by Disqus

Similar Posts

PHPClasses.org: 5 Reasons Why the Web Platform War is Over: PHP Won with 75% says Google

Dhiraj Patra's Blog: Caching PHP Programs with PEAR

Wez Furlong\'s Blog: Using PDO MySQL?

DevShed: Sessions and Cookies

Ilia Alshanetsky's Blog: PHP 5.2.0 RC3 Released!


Community Events











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


package framework application podcast hhvm introduction opinion symfony2 facebook performance language database component unittest release install security composer support hack

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