{"id":1730,"date":"2008-05-22T10:34:05","date_gmt":"2008-05-22T14:34:05","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=1730"},"modified":"2008-05-22T20:45:55","modified_gmt":"2008-05-23T00:45:55","slug":"denormalize-to-scale","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2008\/05\/22\/denormalize-to-scale\/","title":{"rendered":"Denormalize to Scale"},"content":{"rendered":"<p><a href=\"http:\/\/whydoeseverythingsuck.com\/2008\/05\/detailed-five-step-twitter-scaling-plan.html\">Hank Williams<\/a> recommends that Twitter denormalize its database so that it can be split up:<\/p>\n<blockquote cite=\"http:\/\/whydoeseverythingsuck.com\/2008\/05\/detailed-five-step-twitter-scaling-plan.html\"><p>In typical normalized databases you would want to store every message sent only once and not in two places as I suggest above. But while perfectly normalized databases make for &ldquo;cleaner&rdquo; databases, they cannot scale. Database purists often speak of the merits of normalization. And certainly some normalization is generally necessary. But in the new database world, a perfectly normalized database is an un-scalable database.<\/p><\/blockquote>\n<p>Update: <a href=\"http:\/\/dev.twitter.com\/2008\/05\/twittering-about-architecture.html\">Twittering About Architecture<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Hank Williams recommends that Twitter denormalize its database so that it can be split up: In typical normalized databases you would want to store every message sent only once and not in two places as I suggest above. But while perfectly normalized databases make for &ldquo;cleaner&rdquo; databases, they cannot scale. Database purists often speak of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-1730","post","type-post","status-publish","format-standard","hentry","category-programming-category"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/1730","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=1730"}],"version-history":[{"count":0,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/1730\/revisions"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=1730"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=1730"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=1730"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}