Golang News http://golangnews.com Jobs, Code, Videos and News for Go hackers - everything about the go programming language Tue, 27 Feb 2018 05:51:00 +0000 Moving the new york times games platform to google app engine 11 points posted by tomf https://open.nytimes.com/moving-the-new-york-times-games-platform-to-google-app-engine-e9337f2c9444 2611 Fri, 01 Sep 2017 08:29:00 +0000 Introducing Marvin: A go-kit server for Google App Engine #nytimes #gae <p><a href="https://open.nytimes.com/moving-the-new-york-times-games-platform-to-google-app-engine-e9337f2c9444" data-href="https://open.nytimes.com/moving-the-new-york-times-games-platform-to-google-app-engine-e9337f2c9444" class="markup--anchor markup--p-anchor" target="_blank" style="background-color: rgb(255, 255, 255); color: inherit; text-decoration: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0.44); background-image: linear-gradient(rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0) 50%); background-repeat: repeat-x; background-size: 2px 0.1em; background-position: 0px 1.07em; font-family: medium-content-serif-font, Georgia, Cambria, &quot;Times New Roman&quot;, Times, serif; font-size: 21px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: -0.063px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;">We recently covered</a>&nbsp;how The New York Times Games team moved their server infrastructure to Google App Engine from Amazon Web Service. When we started building software on App Engine, we found we did not need our existing server, <a href="https://github.com/nytimes/gizmo" data-href="https://github.com/nytimes/gizmo" class="markup--anchor markup--p-anchor" rel="noopener" target="_blank" style="background-color: rgb(255, 255, 255); color: inherit; text-decoration: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0.44); background-image: linear-gradient(rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0) 50%); background-repeat: repeat-x; background-size: 2px 0.1em; background-position: 0px 1.07em; font-family: medium-content-serif-font, Georgia, Cambria, &quot;Times New Roman&quot;, Times, serif; font-size: 21px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: -0.063px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;">gizmo</a>, because App Engine automatically provides more than half of gizmo’s server functionality. To keep a similar structure but strip out all the unneeded tooling, we built and open sourced <a href="https://github.com/nytimes/marvin" data-href="https://github.com/nytimes/marvin" class="markup--anchor markup--p-anchor" rel="noopener" target="_blank" style="background-color: rgb(255, 255, 255); color: inherit; text-decoration: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0.44); background-image: linear-gradient(rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0) 50%); background-repeat: repeat-x; background-size: 2px 0.1em; background-position: 0px 1.07em; font-family: medium-content-serif-font, Georgia, Cambria, &quot;Times New Roman&quot;, Times, serif; font-size: 21px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: -0.063px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;">Marvin</a>.</p> <br> <p>Marvin provides common tools and structure for services being built on Google App Engine by leaning heavily on <a href="http://godoc.org/github.com/go-kit/kit/transport/http" data-href="http://godoc.org/github.com/go-kit/kit/transport/http" class="markup--anchor markup--p-anchor" rel="noopener" target="_blank" style="background-color: rgb(255, 255, 255); color: inherit; text-decoration: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0.44); background-image: linear-gradient(rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0) 50%); background-repeat: repeat-x; background-size: 2px 0.1em; background-position: 0px 1.07em; font-family: medium-content-serif-font, Georgia, Cambria, &quot;Times New Roman&quot;, Times, serif; font-size: 21px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: -0.063px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;">go-kit</a>&nbsp;libraries. The <a href="http://godoc.org/github.com/NYTimes/marvin#Service" data-href="http://godoc.org/github.com/NYTimes/marvin#Service" class="markup--anchor markup--p-anchor" rel="noopener" target="_blank" style="background-color: rgb(255, 255, 255); color: inherit; text-decoration: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0.44); background-image: linear-gradient(rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0) 50%); background-repeat: repeat-x; background-size: 2px 0.1em; background-position: 0px 1.07em; font-family: medium-content-serif-font, Georgia, Cambria, &quot;Times New Roman&quot;, Times, serif; font-size: 21px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: -0.063px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;">service interface</a>&nbsp;in Marvin is very similar to the service interface in <a href="https://godoc.org/github.com/NYTimes/gizmo/server/kit#Service" data-href="https://godoc.org/github.com/NYTimes/gizmo/server/kit#Service" class="markup--anchor markup--p-anchor" rel="noopener" target="_blank" style="background-color: rgb(255, 255, 255); color: inherit; text-decoration: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0.44); background-image: linear-gradient(rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0) 50%); background-repeat: repeat-x; background-size: 2px 0.1em; background-position: 0px 1.07em; font-family: medium-content-serif-font, Georgia, Cambria, &quot;Times New Roman&quot;, Times, serif; font-size: 21px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: -0.063px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;">gizmo</a>&nbsp;so software can look the same, but use vasty different styles of infrastructure.</p> 3 points posted by gopher https://open.nytimes.com/introducing-marvin-a-go-kit-server-for-the-app-engine-standard-environment-ab5b2586cfae 2571 Wed, 23 Aug 2017 21:01:00 +0000