Memcached is a distributed memory object caching system that is getting a lot of press at the moment for its ability to provide a high-performance front-end for database applications. Sure, memcached can do wonders, but where is it most effective and what are the pain points?
When a site grows the site administrator starts to worry about how to maintain performance as the hit count rises. Should extra hardware be thrown at the problem synchronisation issues start to rear their heads. Writing caching code is sometimes problematic and you have to be sure that the target of the caching warrants the extra code overhead. Memcached can assist in this phase (and through the majority of the growth phase of the site), however it is sometimes difficult to work out where and how to implement memcached for the best performance.
When MySQL.com found it had started to hit limits of performance the web team looked for tools to help handle the load. On the top of the list was memcached, chosen primarily for its simplicity and utility. Because it is agnostic to the data being stored memcached can be used for just about any application that can store and retrieve data by key. The distributed nature also allowed building a resilient solution, without the need for extra hardware.
In this session Adam Donnison will take you through the decision making process leading to the deployment of memcached on the MySQL.com web stack. In a step-by-step manner with real-world examples in PHP and MySQL 5.1, Adam will cover:
Adam is currently a member of the team responsible for the MySQL.com websites. He was primarily responsible for the design of the current web infrastructure, which now achieves an enviable uptime, showing that it can be done with open source and commodity hardware.
In previous incarnations Adam has been an analyst programmer, consultant, systems engineer, trainer and courseware developer.
Comments on this page are now closed.
For information on exhibition and sponsorship opportunities at the conference, contact Sharon Cordesse at email@example.com
Download the MySQL Sponsor/Exhibitor Prospectus
For media-related inquiries, contact Maureen Jennings at firstname.lastname@example.org
To stay abreast of conference news and to receive email notification when registration opens, please sign up for the MySQL Conference newsletter.
View a complete list of MySQL contacts.