Feeds

Facebook builds 'McDipper' – memcached for flash

Sizzles flash like memcached made DRAM dance

Top 5 reasons to deploy VMware with Tegile

For some things you need DRAM, but for everything else there's flash.

At least that's the message Facebook gave on Tuesday when it took the wraps off 'McDipper', a technology the social network has developed to let it save on memory and get more out of its flash.

In a post to the Facebook engineering blog that is sure to get the brains of storage nerds revving, the social network's engineering team gave details on its memcache protocol–compatible McDipper flash-based cache server.

"The main design goals of McDipper are to make efficient use of flash storage (i.e. to deliver performance as close to that of the underlying device as possible) and to be a drop-in replacement for Memcached," the team wrote in a post to the blog.

McDipper can be a handy tool for companies looking to minimize their use of expensive RAM without having to compromise on latency.

For example, Facebook has used McDipper in its infrastructure for the past year in such a way the social network can keep hashed metadata about photos in memory, but keep the unwieldy large photos on flash.

McDipper is memcache for flash

McDipper's storage layout

"This configuration gives us the large sequential writes we need to minimize write amplification on the flash device and allows us to serve a photo fetch with one flash storage read and complete a photo store with a single write completed as part of a more efficient bulk operation," the company wrote.

By using McDipper, Facebook has been able to cut the number of servers for some tasks by as much as 90 per cent, while making sure that over 90 per cent of requests are met with responses in the sub-millisecond range.

Though many storage technologies offer a variety of tools for tiering data across storage, these tend to come with either a latency overheard or a wallet-breaking license fee.

Memcached, on the other hand, is a stripped-down, well-understood system that, though limited, lets administrators cut through their infrastructure and talk straight to the storage bones. It turns 10 this year, and was initially developed to support LiveJournal.

By developing McDipper, Facebook has given itself another way of avoiding the pitfalls that come with depending on a specific vendor's technology.

The tech is being used to serve over 150Gbps from forward caches in Facebook's content delivery network (CDN) at the moment, the company wrote in the post.

Though the company has no immediate plans to publish the protocol as open source, the team that developed it would like to, a Facebook spokesman told The Register.

Until then, this peek behind the social network's curtain serves to spin-up storage engineers' imaginations, and perhaps get a few more infrastructure CVs plopping onto the doormat at Zuckerberg HQ. ®

Beginner's guide to SSL certificates

More from The Register

next story
It's Big, it's Blue... it's simply FABLESS! IBM's chip-free future
Or why the reversal of globalisation ain't gonna 'appen
'Hmm, why CAN'T I run a water pipe through that rack of media servers?'
Leaving Las Vegas for Armenia kludging and Dubai dune bashing
Microsoft and Dell’s cloud in a box: Instant Azure for the data centre
A less painful way to run Microsoft’s private cloud
Facebook slurps 'paste sites' for STOLEN passwords, sprinkles on hash and salt
Zuck's ad empire DOESN'T see details in plain text. Phew!
CAGE MATCH: Microsoft, Dell open co-located bit barns in Oz
Whole new species of XaaS spawning in the antipodes
AWS pulls desktop-as-a-service from the PC
Support for PCoIP protocol means zero clients can run cloudy desktops
prev story

Whitepapers

Cloud and hybrid-cloud data protection for VMware
Learn how quick and easy it is to configure backups and perform restores for VMware environments.
A strategic approach to identity relationship management
ForgeRock commissioned Forrester to evaluate companies’ IAM practices and requirements when it comes to customer-facing scenarios versus employee-facing ones.
High Performance for All
While HPC is not new, it has traditionally been seen as a specialist area – is it now geared up to meet more mainstream requirements?
Three 1TB solid state scorchers up for grabs
Big SSDs can be expensive but think big and think free because you could be the lucky winner of one of three 1TB Samsung SSD 840 EVO drives that we’re giving away worth over £300 apiece.
Security for virtualized datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.