{"id":645361,"date":"2013-03-05T19:13:10","date_gmt":"2013-03-06T00:13:10","guid":{"rendered":"http:\/\/gigaom.com\/?p=617081"},"modified":"2013-03-05T19:13:10","modified_gmt":"2013-03-06T00:13:10","slug":"facebook-kisses-dram-goodbye-builds-memcached-for-flash","status":"publish","type":"post","link":"https:\/\/mereja.media\/index\/645361","title":{"rendered":"Facebook kisses DRAM goodbye, builds memcached for flash"},"content":{"rendered":"<p>Q:\u00a0What do you get when you mix Facebook\u2019s extensive memcached usage with its strategy of \u201ccold storage\u201d for infrequently accessed data?<\/p>\n<p>A: McDipper, a Facebook-built implementation of the popular memcached key-value store designed to run on flash memory rather than pricier DRAM.<\/p>\n<p><a href=\"http:\/\/memcached.org\/\">Memcached<\/a>, for the unfamiliar, is an open-source key-value store that caches frequently accessed data in memory so applications can access and serve it faster than if it were stored on hard disks. It\u2019s a very popular component of many web applications stacks, including at Facebook where the company runs thousands of memcached servers to power its various applications.<\/p>\n<p>But DRAM is expensive, especially when you get to Facebook\u2019s scale, and not all applications deserve that kind of performance. So, <a href=\"https:\/\/www.facebook.com\/notes\/facebook-engineering\/mcdipper-a-key-value-cache-for-flash-storage\/10151347090423920\">according to a Facebook Engineering post on Tuesday<\/a>, the company designed McDipper to handle \u201cworking sets that had very large footprints but moderate to low request rates. \u2026 Compared with memory, flash provides up to 20 times the capacity per server and still supports tens of thousands of operations per second.\u201d<\/p>\n<p>Facebook has deployed McDipper for a handful of these workloads, the blog states, and\u00a0has \u201creduced the total number of deployed servers in some pools by as much as 90% while still delivering more than 90% of get responses with sub-millisecond latencies.\u201d It has been part of Facebook\u2019s photo infrastructure for about a year and serves 150 gigabits of data per second \u2014 or \u201cabout one library of congress (10 TB) every 10 minutes\u201d \u2014 over Facebook\u2019s content-delivery network.<\/p>\n<div id=\"attachment_617132\" class=\"wp-caption aligncenter\" style=\"width: 718px\"><img loading=\"lazy\" decoding=\"async\" alt=\"mcdipper\" src=\"http:\/\/gigaom2.files.wordpress.com\/2013\/03\/563268_10151454322497200_149974633_n.png?w=708&#038;h=249\" width=\"708\" height=\"249\" class=\"wp-image-617132\"><\/p>\n<p class=\"wp-caption-text\">How McDipper stores data<\/p>\n<\/div>\n<p>This is the same logic that drove Facebook to <a href=\"http:\/\/gigaom.com\/2012\/10\/03\/facebooks-next-compute-challenge-is-cold-storage\/\">undertake its cold storage engineering effort<\/a> for even more infrequently accessed data, which aims to find a middle ground between the inefficiency and latency of hard disks and the high cost of flash storage. To meet that goal, the company is getting creative by <a href=\"http:\/\/gigaom.com\/2013\/01\/16\/why-facebook-might-put-blu-ray-to-use-on-big-data\/\">considering everything from lower-performance flash to Blu-ray<\/a> \u2014 pretty much anything but tape \u2014 VP of Engineering Jay Parikh told me in January.<\/p>\n<p>Building a tool like McDipper is the just the tip of the iceberg, though, when it comes to managing the cost and efficiency of infrastructure at large web companies such as Facebook. On Tuesday, eBay <a href=\"http:\/\/gigaom.com\/2013\/03\/05\/ebay-shows-the-world-how-to-measure-mpg-for-data-centers\/\">released its Digital Service Efficiency report<\/a> that lays out a methodology for assessing the effect that infrastructure (more than 52,000 servers in eBay\u2019s case; Facebook has even more) has on larger corporate goals such as clean energy and the bottom line.<\/p>\n<p>And later this month at our <a href=\"http:\/\/event.gigaom.com\/structuredata\/schedule\/?utm_source=cloud&#38;utm_medium=editorial&#038;%2338;utm_campaign=intext&#038;%2338;utm_term=617081+facebook-kisses-dram-goodbye-builds-memcached-for-flash&#038;%2338;utm_content=dharrisstructure\">Structure: Data conference<\/a>, data center executives from Facebook, Microsoft and Goldman Sachs will take the stage to discuss how smart analytics help them plan to meet capacity needs while keeping costs in check.<\/p>\n<p><em>Feature image is Facebook\u2019s new all-flash Dragonstone server design.<\/em><\/p>\n<p><a href=\"http:\/\/structuredata2013-editgraphic.eventbrite.com\/\"><img decoding=\"async\" alt=\"Structure:Data: Put data to work. 60+ big data experts speaking. March 20-21, 2013, New York City. Register now.\" src=\"http:\/\/gigaom2.files.wordpress.com\/2013\/02\/structure-data_in-article-banner_590x1101.png?w=708\" class=\"aligncenter size-full wp-image-610578\"><\/a><\/p>\n<p> <img loading=\"lazy\" decoding=\"async\" alt=\"\" border=\"0\" src=\"http:\/\/stats.wordpress.com\/b.gif?host=gigaom.com&#038;blog=14960843&#038;%23038;post=617081&#038;%23038;subd=gigaom2&#038;%23038;ref=&#038;%23038;feed=1\" width=\"1\" height=\"1\" \/><\/p>\n<p><a href=\"http:\/\/pubads.g.doubleclick.net\/gampad\/jump?iu=\/1008864\/GigaOM_RSS_300x250&#038;sz=300x250&#038;%23038;c=678055\"><img decoding=\"async\" src=\"http:\/\/pubads.g.doubleclick.net\/gampad\/ad?iu=\/1008864\/GigaOM_RSS_300x250&#038;sz=300x250&#038;%23038;c=678055\" \/><\/a><\/p>\n<p><strong>Related research and analysis from GigaOM Pro:<\/strong><br \/>Subscriber content. <a href=\"http:\/\/pro.gigaom.com\/?utm_source=cloud&#038;utm_medium=editorial&#038;utm_campaign=auto3&#038;utm_term=617081+facebook-kisses-dram-goodbye-builds-memcached-for-flash&#038;utm_content=dharrisstructure\">Sign up for a free trial<\/a>.<\/p>\n<ul>\n<li><a href=\"http:\/\/pro.gigaom.com\/2011\/12\/migrating-media-applications-to-the-private-cloud-best-practices-for-businesses\/?utm_source=cloud&#038;utm_medium=editorial&#038;utm_campaign=auto3&#038;utm_term=617081+facebook-kisses-dram-goodbye-builds-memcached-for-flash&#038;utm_content=dharrisstructure\">Migrating media applications to the private cloud: best practices for businesses<\/a><\/li>\n<li><a href=\"http:\/\/pro.gigaom.com\/2012\/12\/how-the-mobile-first-world-will-transform-the-data-center\/?utm_source=cloud&#038;utm_medium=editorial&#038;utm_campaign=auto3&#038;utm_term=617081+facebook-kisses-dram-goodbye-builds-memcached-for-flash&#038;utm_content=dharrisstructure\">How tomorrow&#8217;s mobile-centric data centers will look<\/a><\/li>\n<li><a href=\"http:\/\/pro.gigaom.com\/2012\/07\/cloud-and-data-second-quarter-2012-analysis-and-outlook-2\/?utm_source=cloud&#038;utm_medium=editorial&#038;utm_campaign=auto3&#038;utm_term=617081+facebook-kisses-dram-goodbye-builds-memcached-for-flash&#038;utm_content=dharrisstructure\">Takeaways from the second quarter in cloud and data<\/a><\/li>\n<\/ul>\n<p><img width='1' height='1' src='http:\/\/gigaom.feedsportal.com\/c\/34996\/f\/646446\/s\/293e5ee0\/mf.gif' border='0'\/><\/p>\n<div class='mf-viral'>\n<table border='0'>\n<tr>\n<td valign='middle'><a href=\"http:\/\/share.feedsportal.com\/viral\/sendEmail.cfm?lang=en&#038;title=Facebook+kisses+DRAM+goodbye%2C+builds+memcached+for+flash&#038;link=http%3A%2F%2Fgigaom.com%2F2013%2F03%2F05%2Ffacebook-kisses-dram-goodbye-builds-memcached-for-flash%2F\" ><img decoding=\"async\" src=\"http:\/\/res3.feedsportal.com\/images\/emailthis2.gif\" border=\"0\" \/><\/a><\/td>\n<td valign='middle'><a href=\"http:\/\/res.feedsportal.com\/viral\/bookmark.cfm?title=Facebook+kisses+DRAM+goodbye%2C+builds+memcached+for+flash&#038;link=http%3A%2F%2Fgigaom.com%2F2013%2F03%2F05%2Ffacebook-kisses-dram-goodbye-builds-memcached-for-flash%2F\" ><img decoding=\"async\" src=\"http:\/\/res3.feedsportal.com\/images\/bookmark.gif\" border=\"0\" \/><\/a><\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p><a href=\"http:\/\/da.feedsportal.com\/r\/159489942524\/u\/49\/f\/646446\/c\/34996\/s\/293e5ee0\/a2.htm\"><img decoding=\"async\" src=\"http:\/\/da.feedsportal.com\/r\/159489942524\/u\/49\/f\/646446\/c\/34996\/s\/293e5ee0\/a2.img\" border=\"0\"\/><\/a><img loading=\"lazy\" decoding=\"async\" width=\"1\" height=\"1\" src=\"http:\/\/pi.feedsportal.com\/r\/159489942524\/u\/49\/f\/646446\/c\/34996\/s\/293e5ee0\/a2t.img\" border=\"0\"\/><\/p>\n<div class=\"feedflare\">\n<a href=\"http:\/\/feeds.feedburner.com\/~ff\/OmMalik?a=X3bAIxRmOqM:xzrBZaNZpAw:yIl2AUoC8zA\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/OmMalik?d=yIl2AUoC8zA\" border=\"0\"><\/img><\/a>\n<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~r\/OmMalik\/~4\/X3bAIxRmOqM\" height=\"1\" width=\"1\"\/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Q:\u00a0What do you get when you mix Facebook\u2019s extensive memcached usage with its strategy of \u201ccold storage\u201d for infrequently accessed data? A: McDipper, a Facebook-built implementation of the popular memcached key-value store designed to run on flash memory rather than pricier DRAM. Memcached, for the unfamiliar, is an open-source key-value store that caches frequently accessed [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-645361","post","type-post","status-publish","format-standard","hentry","category-news"],"_links":{"self":[{"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/posts\/645361","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/comments?post=645361"}],"version-history":[{"count":0,"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/posts\/645361\/revisions"}],"wp:attachment":[{"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/media?parent=645361"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/categories?post=645361"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/tags?post=645361"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}