{"id":3884,"date":"2014-06-27T10:57:01","date_gmt":"2014-06-27T15:57:01","guid":{"rendered":"http:\/\/appcrawler.com\/wordpress\/?p=3884"},"modified":"2014-06-27T10:57:01","modified_gmt":"2014-06-27T15:57:01","slug":"akamai-gtm","status":"publish","type":"post","link":"http:\/\/appcrawler.com\/wordpress\/2014\/06\/27\/akamai-gtm\/","title":{"rendered":"Akamai GTM"},"content":{"rendered":"<p>Akamai&#8217;s Global Traffic Manager, or GTM for short, is technology that allows a user to configure traffic to be sent to more than one data center, or at least more than one origin URL.  For an Akamai primer, go <a href=\"https:\/\/developer.akamai.com\/stuff\" target=\"_blank\">here<\/a>.<\/p>\n<p>In our case, we used it to facilitate A-B testing.  <\/p>\n<p>We could have accomplished the same thing with any smart load balancer than handles DNS load balancing, such as the F5 GTM.<\/p>\n<p>We configured Akamai&#8217;s GTM to point 50% of our traffic to origin address A, and 50% to origin address B.  We then configured our internal F5 LTM to direct requests for origin address A to our servers that hosted code base A, and requests to origin address B to servers that hosted code base B.<\/p>\n<p>As noted, we could have run the GTM piece in our F5 GTM.  Technically, we could have done the entire thing in the LTM.  If the user didn&#8217;t have a cookie, we would randomly distribute the initial request to one of two servers.  The software then sets a cookie, and subsequent requests are persisted based on either:<\/p>\n<p>1) an existing mapping of that session to a backend server if the session has not expired<br \/>\n2) or to one of the two pools based on the cookie the last time the user visited<\/p>\n<p>However, as soon as we would like to span data centers, we are back to needing a GTM in some form or fashion.<\/p>\n<p>We configured the Akamai GTM by clicking through the screens shown below.<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/appcrawler.com\/wordpress\/wp-content\/uploads\/2014\/06\/233.png\"><\/p>\n<p><img decoding=\"async\" src=\"http:\/\/appcrawler.com\/wordpress\/wp-content\/uploads\/2014\/06\/521.png\"><\/p>\n<p><img decoding=\"async\" src=\"http:\/\/appcrawler.com\/wordpress\/wp-content\/uploads\/2014\/06\/738.png\"><\/p>\n<p><img decoding=\"async\" src=\"http:\/\/appcrawler.com\/wordpress\/wp-content\/uploads\/2014\/06\/670.png\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Akamai&#8217;s Global Traffic Manager, or GTM for short, is technology that allows a user to configure traffic to be sent to more than one data center, or at least more than one origin URL. For an Akamai primer, go here.&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"http:\/\/appcrawler.com\/wordpress\/2014\/06\/27\/akamai-gtm\/\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"footnotes":""},"categories":[50,51,56],"tags":[],"_links":{"self":[{"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/posts\/3884"}],"collection":[{"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/comments?post=3884"}],"version-history":[{"count":10,"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/posts\/3884\/revisions"}],"predecessor-version":[{"id":3970,"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/posts\/3884\/revisions\/3970"}],"wp:attachment":[{"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/media?parent=3884"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/categories?post=3884"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/tags?post=3884"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}