{"componentChunkName":"component---src-templates-blog-post-js","path":"/seattle_speed_testing/","result":{"data":{"site":{"siteMetadata":{"title":"tigue.com"}},"markdownRemark":{"id":"0da02b14-0a34-5f7f-b0a6-c22f80d9f078","excerpt":"Back in April 2015, I started working with the City of Seattle on a very interesting project which just went live at version 1.0 (press release).\nNote: here “…","html":"<p>Back in April 2015, I started working with the City of Seattle on a very interesting project which just went live at version 1.0 (<a href=\"https://www.newamerica.org/oti/seattle-launches-broadband-speed-test-in-partnership-with-oti/\">press release</a>).\nNote: here “1.0” means it has been publicly deployed and is collecting data but 2.0 will be slicker still.\nI am really excited about this technology and more importantly the long term legal implications.</p>\n<p>I was the project lead on this.\n<a href=\"https://www.newamerica.org/oti\">Open Technology Institute</a> was the “vendor.”\nBruce Blood, Open Data Manager for the City, was the point man inside the government.\nBruce is a good guy and he is doing great work; it will be a civic loss when he retires later this year.</p>\n<p><a title=\"ISP quality map\" href='http://www.seattle.gov/broadband-speed-test'><span class=\"gatsby-resp-image-wrapper\" style=\"position: relative; display: block; margin-left: auto; margin-right: auto;  max-width: 750px;\">\n      <span class=\"gatsby-resp-image-background-image\" style=\"padding-bottom: 61.86666666666667%; position: relative; bottom: 0; left: 0; background-image: url(&apos;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAMCAYAAABiDJ37AAAACXBIWXMAAAsTAAALEwEAmpwYAAACkUlEQVQoz02T227bRhRF9f+vRf+gBfoUFEjRSHIiObYsx5EoXoYz5JAc3kXd5fzB6rEcBH04wLzMmr332TOq+w1157M2NdPoxFSduVMnmfNtJtEZP0lpq4zKhsSJ5VtS0jWG0iXUWcj+fKY4vNKcfjCqO4WtYjZZxiw+3GD/h07CI5FRlDbGmQ2F3nCvOmwRUVeWQ2u5vl6ZJjuK/ZXRc9rylHTkjZZRct4yji434Dg84esMa0LSOCA3Ac5GLOOaudphyoaDKJ2pkj9XHX+8NIwmcnmu9zS9putjHvTA5CdwGh0xkUcSrjAPH0jW9wJUVM7wOdrxku649inlTtwke1blgdFnuWhrTbsVC50R4O6W21RmbTRp+IwWYLa5x4pKa2Jeopx/gjOPyYnWyQP7Ax+jLetKgEvToZyl3wa0vb1ZfoNN1JVH3+ISjyLx8cIItV6gnz/xxXMsdYtzKadmzTJvmNsjE7NnZMsSL8/Ero/NUlZJ82spb+C5GvCVKFXPWP8rib/gX/9InFdcBse5S7hejqzc/mZ9FGQ5q8yJ3YCqkcCT9tdS3rY8Vq98Ci943+fE3iNhrBkHB77oK6ro6aqEYci5HmpS5xjpwklunQTckNUKX9Teqct7J0XhInTM4yNeZHDf/ibYLJn5Nco6PNuyFRFdHbPtSzZ5JxnqnlBU6qpmYXqWpnrvn0Dvo55iMyMvHdunvxhmv6NTw12wRRc1VWmJlGQv5d5JfbI8lR7qkmEb4honii7vlYl+llpqEyZOyvyV9uE33OIDWWbx4vQWTZw7ojRj6CyDKOwbAW6Hgv0+xbXNDbZMnfyYnSzm3Xbw/Umq80SjPzKUY7r0EV/sB3mLFnhqLTthdL2h7iP+A2iXSd/yUqUpAAAAAElFTkSuQmCC&apos;); background-size: cover; display: block;\"></span>\n  <img class=\"gatsby-resp-image-image\" alt=\"ISP quality map\" title=\"ISP quality map\" src=\"/static/d785f1c02b4b4dd2c4dd49a060e53a4a/b8ccf/isp-monitor.png\" srcset=\"/static/d785f1c02b4b4dd2c4dd49a060e53a4a/1abb1/isp-monitor.png 250w,\n/static/d785f1c02b4b4dd2c4dd49a060e53a4a/7217d/isp-monitor.png 500w,\n/static/d785f1c02b4b4dd2c4dd49a060e53a4a/b8ccf/isp-monitor.png 750w\" sizes=\"(max-width: 750px) 100vw, 750px\" loading=\"lazy\">\n    </span></a></p>\n<p>The City is calling the tool the <a href=\"http://www.seattle.gov/broadband-speed-test\">“Broadband Speed Test”</a>.\nPersonally I label it as an “ISP quality monitor.”\n(“Broadband” sounds so highfalutin that the term must have come out of some marketing department.)\nWe already have air quality monitors and the County mails out pamphlets regularly which enumerate quality measures for the drinking water.\nThe goal is of this project is that one day we will have laws regulating net neutrality and quality.\nIn such a regulatory scheme we will need ISP quality monitoring tools.</p>\n<p>Clearly we do not currently have laws for this but even it the government simply collects and disseminates network quality information that is a big win.\nAnd now for the first time in the USA we have the government (albeit only a municipal government) collecting this sort of information.\nHopefully efforts like this will lead to federal legislation.</p>\n<p>Even without regulatory laws, simply governmental monitoring of the network may well lead to the situation improving.\nAn analogy can be made to commercial airlines.\nThe federal Department of Transportation collects performance data on airlines.\nFor example, “Gate Departure Time” data is collected.\nThen <a href=\"https://www.rita.dot.gov/bts/sites/rita.dot.gov.bts/files/press_releases/airline_ontime_statistics.html\">reports of delays per airline</a> are periodically published.</p>\n<p>Simply collecting and making available such data was sufficient to get the airline corporations to improve those numbers.\n(Ironically, this is one of the reasons that we Americans now spend so much time parked on runways: the numbers reflect when an aircraft pushed off from its gate, not when the airplane started flying.)\nBased on IP addresses collected during network speed testing, we can determine which ISP the test is being run over and then later generate quality reports per ISP.\nHopefully, similar to the airline departure times, we will see an improvement in the performance numbers of ISPs now that we are starting to collect the relevant information.</p>\n<p>So, legally this may well prove to be interesting stuff in the long term. Moving on to the technological aspects of this project, that is currently interesting.\n<a href=\"http://www.measurementlab.net/tools/ndt/\">NDT</a> (Network Diagnostic Test) is the very core of this technology package.\nNDT is the bit-pushing speed tester.\nThe code is <a href=\"https://github.com/ndt-project/ndt/blob/master/COPYING\">liberally licensed</a>.\nThis is the code which actually generates a fake file and sends it to the server for upload timing.\nThen the server sends a fake file to the client for download timing.</p>\n<p>The map UI is based on two high-quality JavaScript GIS libraries: <a href=\"http://leafletjs.com/\">Leaflet</a> for the base map and <a href=\"http://turfjs.org/\">Turf</a> for aggregating results within US Census Block Groups.</p>\n<p><a href=\"https://github.com/opentechinstitute/piecewise\">Piecewise</a> is the name of the web app that runs the tests and generates the reports and provides the user interface.\nUnfortunately <a href=\"https://github.com/opentechinstitute/piecewise/blob/master/LICENSE\">Piecewise is licensed under GPL3</a>, rather than Apache or MIT, but that detail is not a show stopper.</p>\n<p>If you want further information, I put a lot of work into <a href=\"https://github.com/openseattle/seattlespeeds/wiki\">a wiki</a> and you can also see some of <a href=\"http://tigue.com/seattlespeeds/\">my project management artifacts.</a></p>","frontmatter":{"title":"Seattle ISP quality monitor","date":"February 19, 2016","description":null}}},"pageContext":{"isCreatedByStatefulCreatePages":false,"slug":"/seattle_speed_testing/","previous":{"fields":{"slug":"/generating_topojson/"},"frontmatter":{"title":"Generating TopoJSON debug"}},"next":{"fields":{"slug":"/omolumeter_defined/"},"frontmatter":{"title":"Omolumeter: epidemic outbreak visualization web-app"}}}}}