{"id":3070,"date":"2012-11-16T16:48:58","date_gmt":"2012-11-17T00:48:58","guid":{"rendered":"http:\/\/blog.mozilla.org\/webdev\/?p=3070"},"modified":"2012-11-16T16:51:37","modified_gmt":"2012-11-17T00:51:37","slug":"things-i-learned-b-looking-at-graphs","status":"publish","type":"post","link":"https:\/\/blog.mozilla.org\/webdev\/2012\/11\/16\/things-i-learned-b-looking-at-graphs\/","title":{"rendered":"Things I learned from looking at graphs"},"content":{"rendered":"<p>We use <a href=\"http:\/\/graphite.wikidot.com\/\">Graphite<\/a> to see how the <a href=\"https:\/\/marketplace.firefox.com\/\">Firefox Marketplace<\/a> and <a href=\"https:\/\/addons.mozilla.org\/\">Add-ons<\/a> sites are doing. But the sheer volume of traffic to Add-ons always gives some interesting graphs.<\/p>\n<p>A while back we were switching between different clusters for add-on version check as the hardware behind it changed. As we switched clusters, we also switched from a hot cache to a cold cache. This resulted in a spike in traffic:<\/p>\n<p><a href=\"http:\/\/blog.mozilla.org\/webdev\/files\/2012\/11\/Screen-Shot-2012-11-16-at-2.58.50-PM.png\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/blog.mozilla.org\/webdev\/files\/2012\/11\/Screen-Shot-2012-11-16-at-2.58.50-PM.png\" alt=\"\" title=\"Version check traffic\" width=\"582\" height=\"303\" class=\"alignnone size-full wp-image-3072\" srcset=\"https:\/\/blog.mozilla.org\/webdev\/files\/2012\/11\/Screen-Shot-2012-11-16-at-2.58.50-PM.png 582w, https:\/\/blog.mozilla.org\/webdev\/files\/2012\/11\/Screen-Shot-2012-11-16-at-2.58.50-PM-300x156.png 300w\" sizes=\"(max-width: 582px) 100vw, 582px\" \/><\/a><\/p>\n<p>That&#8217;s almost 45,000 requests per second coming into version check and being processed by Python and MySQL. With hardly a blip on the hardware loads, we processed that quickly. We can see the affect as the cache picked up the slack,  it falls down to the usual 8,000 requests per second. Crazy traffic.<\/p>\n<p>We get a large number of requests to version check for a small number of add-ons. Like <a href=\"https:\/\/addons.mozilla.org\/en-US\/firefox\/addon\/adblock-plus\/?src=hp-dl-mostpopular\">Adblock Plus<\/a> which, as of writing this post, has over 15 million users. That&#8217;s pretty awesome.<\/p>\n<p><a href=\"http:\/\/blog.mozilla.org\/webdev\/files\/2012\/11\/Screen-Shot-2012-11-16-at-3.14.46-PM.png\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/blog.mozilla.org\/webdev\/files\/2012\/11\/Screen-Shot-2012-11-16-at-3.14.46-PM.png\" alt=\"\" title=\"Adblock Plus\" width=\"200\" height=\"83\" class=\"alignnone size-full wp-image-3073\" \/><\/a><\/p>\n<p>Looking at the traffic to Add-ons site (excluding version checks), traffic is very consistent depending upon the time of day.<\/p>\n<p><a href=\"http:\/\/blog.mozilla.org\/webdev\/files\/2012\/11\/Screen-Shot-2012-11-16-at-3.24.19-PM.png\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/blog.mozilla.org\/webdev\/files\/2012\/11\/Screen-Shot-2012-11-16-at-3.24.19-PM.png\" alt=\"\" title=\"Daily traffic\" width=\"576\" height=\"266\" class=\"alignnone size-full wp-image-3076\" srcset=\"https:\/\/blog.mozilla.org\/webdev\/files\/2012\/11\/Screen-Shot-2012-11-16-at-3.24.19-PM.png 576w, https:\/\/blog.mozilla.org\/webdev\/files\/2012\/11\/Screen-Shot-2012-11-16-at-3.24.19-PM-300x138.png 300w\" sizes=\"(max-width: 576px) 100vw, 576px\" \/><\/a><\/p>\n<p>So when are those times? Here&#8217;s a graph of today&#8217;s traffic that I&#8217;ve annotated.<\/p>\n<p><a href=\"http:\/\/blog.mozilla.org\/webdev\/files\/2012\/11\/Screen-Shot-2012-11-16-at-4.20.00-PM.png\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/blog.mozilla.org\/webdev\/files\/2012\/11\/Screen-Shot-2012-11-16-at-4.20.00-PM.png\" alt=\"\" title=\"Addon traffic with times\" width=\"579\" height=\"286\" class=\"alignnone size-full wp-image-3077\" srcset=\"https:\/\/blog.mozilla.org\/webdev\/files\/2012\/11\/Screen-Shot-2012-11-16-at-4.20.00-PM.png 579w, https:\/\/blog.mozilla.org\/webdev\/files\/2012\/11\/Screen-Shot-2012-11-16-at-4.20.00-PM-300x148.png 300w\" sizes=\"(max-width: 579px) 100vw, 579px\" \/><\/a><\/p>\n<p>Our low point is as India wakes up. It goes up as Europe starts to wake up and then the east coast of the US. It hits its peak at about 11am on the east coast and then as Europe and the east coast goes of line traffic starts to fall.<\/p>\n<p>There&#8217;s no real surprise there and data is backed up by looking at our internal metrics that show after the United States, the biggest traffic for Add-ons comes from Germany, Russia, France in that order. But it&#8217;s always nice to be reminded of the global reach of Mozilla.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We use Graphite to see how the Firefox Marketplace and Add-ons sites are doing. But the sheer volume of traffic to Add-ons always gives some interesting graphs. A while back we were switching between different clusters for add-on version check &hellip; <a class=\"go\" href=\"https:\/\/blog.mozilla.org\/webdev\/2012\/11\/16\/things-i-learned-b-looking-at-graphs\/\">Continue reading<\/a><\/p>\n","protected":false},"author":271,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17,288],"tags":[119,553,20264],"coauthors":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Things I learned from looking at graphs - Mozilla Web Development<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.mozilla.org\/webdev\/2012\/11\/16\/things-i-learned-b-looking-at-graphs\/\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Andy McKay\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.mozilla.org\/webdev\/2012\/11\/16\/things-i-learned-b-looking-at-graphs\/\",\"url\":\"https:\/\/blog.mozilla.org\/webdev\/2012\/11\/16\/things-i-learned-b-looking-at-graphs\/\",\"name\":\"Things I learned from looking at graphs - Mozilla Web Development\",\"isPartOf\":{\"@id\":\"https:\/\/blog.mozilla.org\/webdev\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/blog.mozilla.org\/webdev\/2012\/11\/16\/things-i-learned-b-looking-at-graphs\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/blog.mozilla.org\/webdev\/2012\/11\/16\/things-i-learned-b-looking-at-graphs\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/blog.mozilla.org\/webdev\/files\/2012\/11\/Screen-Shot-2012-11-16-at-2.58.50-PM.png\",\"datePublished\":\"2012-11-17T00:48:58+00:00\",\"dateModified\":\"2012-11-17T00:51:37+00:00\",\"author\":{\"@id\":\"https:\/\/blog.mozilla.org\/webdev\/#\/schema\/person\/7e1881db0e8a23a4a06695f8a0efd6b8\"},\"breadcrumb\":{\"@id\":\"https:\/\/blog.mozilla.org\/webdev\/2012\/11\/16\/things-i-learned-b-looking-at-graphs\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.mozilla.org\/webdev\/2012\/11\/16\/things-i-learned-b-looking-at-graphs\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.mozilla.org\/webdev\/2012\/11\/16\/things-i-learned-b-looking-at-graphs\/#primaryimage\",\"url\":\"http:\/\/blog.mozilla.org\/webdev\/files\/2012\/11\/Screen-Shot-2012-11-16-at-2.58.50-PM.png\",\"contentUrl\":\"http:\/\/blog.mozilla.org\/webdev\/files\/2012\/11\/Screen-Shot-2012-11-16-at-2.58.50-PM.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.mozilla.org\/webdev\/2012\/11\/16\/things-i-learned-b-looking-at-graphs\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/blog.mozilla.org\/webdev\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Things I learned from looking at graphs\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.mozilla.org\/webdev\/#website\",\"url\":\"https:\/\/blog.mozilla.org\/webdev\/\",\"name\":\"Mozilla Web Development\",\"description\":\"For make benefit of glorious tubes\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.mozilla.org\/webdev\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/blog.mozilla.org\/webdev\/#\/schema\/person\/7e1881db0e8a23a4a06695f8a0efd6b8\",\"name\":\"Andy McKay\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.mozilla.org\/webdev\/#\/schema\/person\/image\/96eb032e0f9fa78d076a49a55bf3cd09\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ad304e7a7d4f6fba05a81b10810fe6fd?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ad304e7a7d4f6fba05a81b10810fe6fd?s=96&d=mm&r=g\",\"caption\":\"Andy McKay\"},\"description\":\"Andy is an Engineering Manager at Mozilla. As a Canadian he tweets and blogs about curling, skiing, politics, maple syrup, bears and all things from the great white north.\",\"sameAs\":[\"http:\/\/mckay.pub\",\"https:\/\/x.com\/andymckay\"],\"url\":\"https:\/\/blog.mozilla.org\/webdev\/author\/amckaymozilla-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Things I learned from looking at graphs - Mozilla Web Development","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.mozilla.org\/webdev\/2012\/11\/16\/things-i-learned-b-looking-at-graphs\/","twitter_misc":{"Written by":"Andy McKay","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/blog.mozilla.org\/webdev\/2012\/11\/16\/things-i-learned-b-looking-at-graphs\/","url":"https:\/\/blog.mozilla.org\/webdev\/2012\/11\/16\/things-i-learned-b-looking-at-graphs\/","name":"Things I learned from looking at graphs - Mozilla Web Development","isPartOf":{"@id":"https:\/\/blog.mozilla.org\/webdev\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blog.mozilla.org\/webdev\/2012\/11\/16\/things-i-learned-b-looking-at-graphs\/#primaryimage"},"image":{"@id":"https:\/\/blog.mozilla.org\/webdev\/2012\/11\/16\/things-i-learned-b-looking-at-graphs\/#primaryimage"},"thumbnailUrl":"http:\/\/blog.mozilla.org\/webdev\/files\/2012\/11\/Screen-Shot-2012-11-16-at-2.58.50-PM.png","datePublished":"2012-11-17T00:48:58+00:00","dateModified":"2012-11-17T00:51:37+00:00","author":{"@id":"https:\/\/blog.mozilla.org\/webdev\/#\/schema\/person\/7e1881db0e8a23a4a06695f8a0efd6b8"},"breadcrumb":{"@id":"https:\/\/blog.mozilla.org\/webdev\/2012\/11\/16\/things-i-learned-b-looking-at-graphs\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.mozilla.org\/webdev\/2012\/11\/16\/things-i-learned-b-looking-at-graphs\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.mozilla.org\/webdev\/2012\/11\/16\/things-i-learned-b-looking-at-graphs\/#primaryimage","url":"http:\/\/blog.mozilla.org\/webdev\/files\/2012\/11\/Screen-Shot-2012-11-16-at-2.58.50-PM.png","contentUrl":"http:\/\/blog.mozilla.org\/webdev\/files\/2012\/11\/Screen-Shot-2012-11-16-at-2.58.50-PM.png"},{"@type":"BreadcrumbList","@id":"https:\/\/blog.mozilla.org\/webdev\/2012\/11\/16\/things-i-learned-b-looking-at-graphs\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.mozilla.org\/webdev\/"},{"@type":"ListItem","position":2,"name":"Things I learned from looking at graphs"}]},{"@type":"WebSite","@id":"https:\/\/blog.mozilla.org\/webdev\/#website","url":"https:\/\/blog.mozilla.org\/webdev\/","name":"Mozilla Web Development","description":"For make benefit of glorious tubes","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.mozilla.org\/webdev\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/blog.mozilla.org\/webdev\/#\/schema\/person\/7e1881db0e8a23a4a06695f8a0efd6b8","name":"Andy McKay","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.mozilla.org\/webdev\/#\/schema\/person\/image\/96eb032e0f9fa78d076a49a55bf3cd09","url":"https:\/\/secure.gravatar.com\/avatar\/ad304e7a7d4f6fba05a81b10810fe6fd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ad304e7a7d4f6fba05a81b10810fe6fd?s=96&d=mm&r=g","caption":"Andy McKay"},"description":"Andy is an Engineering Manager at Mozilla. As a Canadian he tweets and blogs about curling, skiing, politics, maple syrup, bears and all things from the great white north.","sameAs":["http:\/\/mckay.pub","https:\/\/x.com\/andymckay"],"url":"https:\/\/blog.mozilla.org\/webdev\/author\/amckaymozilla-com\/"}]}},"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/blog.mozilla.org\/webdev\/wp-json\/wp\/v2\/posts\/3070"}],"collection":[{"href":"https:\/\/blog.mozilla.org\/webdev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mozilla.org\/webdev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/webdev\/wp-json\/wp\/v2\/users\/271"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/webdev\/wp-json\/wp\/v2\/comments?post=3070"}],"version-history":[{"count":0,"href":"https:\/\/blog.mozilla.org\/webdev\/wp-json\/wp\/v2\/posts\/3070\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.mozilla.org\/webdev\/wp-json\/wp\/v2\/media?parent=3070"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mozilla.org\/webdev\/wp-json\/wp\/v2\/categories?post=3070"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mozilla.org\/webdev\/wp-json\/wp\/v2\/tags?post=3070"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/blog.mozilla.org\/webdev\/wp-json\/wp\/v2\/coauthors?post=3070"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}