The Revised memcached Tutorial

Alan Kasindorf (Six Apart), Brian Aker (HP)
Average rating: ****.
(4.20, 5 ratings)

We’ve been talking about memcached for a while now. The topic is excicting, scary, and constantly evolving. You might have a hard time understanding how memcached works at all. You might be missing the “big picture”, or you might just need a handful of examples of how to properly handle common queries. Perhaps you’ve been there, done that, and want to cut your teeth on what the memcached community has been up to for the last year?

We’ll take care of you, don’t worry!

As more people learn about memcached and the success stories wrapped around it, they need to first learn how it relates to them. They need to learn how to dive in and get started.

The first half of this tutorial is focused on getting you going, faster. Here is the basic idea, some common architectures, and how to get it up and running in your favorite language. We will then walk you through examples starting from the simple, through the obscure.

How do I cache this one thing? Easy.
How do I optimize caching 100 different data points per user? Also easy, if you know the trick!

The second half is focused on the new things evolving in the memcached community. Namely the binary protocol and storage engines. We created the binary protocol for a reason, but why? What new things can you do now, what works better, what doesn’t work as well? How is this good for the future?

Memcached is also getting a pluggable storage engine interface. This allows us to help unify the various forks and encourage experimentation. We will show an overview of the interface and some quick examples of what the community (or companies!) have been hacking on.

Alan Kasindorf

Six Apart

Kasindorf is the MySQL DBA for Six Apart’s properties, as well as many of their scaling tools. Originally a sysadmin for livejournal.com in 2002, he has since helped build numerous large web sites with open source software and is an advocate and contributor for Memcached, mogilefs, perlbal, and others.

Photo of Brian Aker

Brian Aker

HP

Brian has spent his life working on the details of how to build and scale out
systems. He is currently working on a new MicroKernel designed MySQL
called Drizzle and is building the plumbing required for a new generation of
large scale computer deployment. He also spends time working on Apache
Modules, Memcached, and Gearman.

In the past, he has been involved with projects for the Army Engineer Corps, The VirtualHospital, Splunk, MySQL, Slashdot, and was a Distinguished Engineer at Sun Microsystems. He calls Seattle his home since that is where his dog Rosalynd is.

Comments on this page are now closed.

Comments

04/22/2009 2:10pm PDT

awesome!

Co-presented By:

O'Reilly Media MySQL/Sun Microsystems
  • Kickfire
  • Virident
  • Infobright, Inc
  • JasperSoft
  • Intel
  • Advanced Micro Devices
  • BIRT Exchange by Actuate
  • Calpont
  • Canonical
  • Continuent
  • Dolphin Interconnect Solutions
  • Facebook
  • HiT Software, Inc.
  • IBM
  • iDashboards
  • Oracle
  • Pentaho
  • R1Soft
  • Schooner Information Technology
  • SQLstream
  • Ticketmaster
  • Zmanda, Inc.
  • Linux Journal

Sponsorship Opportunities

For information on exhibition and sponsorship opportunities at the conference, contact Sharon Cordesse at scordesse@oreilly.com

Download the MySQL Sponsor/Exhibitor Prospectus

Media Partner Opportunities

Download the Media & Promotional Partner Brochure (PDF) for information on trade opportunities with O'Reilly conferences or contact mediapartners@ oreilly.com

Press and Media

For media-related inquiries, contact Maureen Jennings at maureen@oreilly.com

MySQL Conference Newsletter

To stay abreast of conference news and to receive email notification when registration opens, please sign up for the MySQL Conference newsletter.

Contact Us

View a complete list of MySQL contacts.