GopherCon 2014 Writing and Debugging a Web-Based Multi-Player Game

Channel:
Subscribers:
42,100
Published on ● Video Link: https://www.youtube.com/watch?v=PJlp1YacstQ



Duration: 27:53
4,857 views
60


by Stephan McQuay and Fraser Graham

We have recently been working on a game called hackerbots whose server-side component we chose to author in go. We learned quite a few lessons about how to write server-side code in go along the way. A few of the things we will discuss include:

How to test for (and solve) leaking go routines
How to use the profiler to uncover issues with your code
Mixing websockets and http for game play and game control
Go concepts that help us separate game state, player updates, and network traffic
Optimizing JSON serialization for minimal traffic while maintaining human readability
How go got in our way, and what we did to make it less painful- how to debug and fix 'frozen' server code

We will discuss what it is about go that really helped us write our game, with a focus on sharing stories that stand apart from the typical anecdotal reasons for choosing go.

Come learn how we used the go tooling to keep our game within the constraints of a tiny virtual machine whilst having a blast doing so.

Help us caption & translate this video!

http://amara.org/v/FG0D/




Other Videos By Confreaks


2014-05-19Ignite Buffalo 2013 - Herding Cats : Lessons Learned Organizing User Groups by Shawn Biddle
2014-05-19Ignite Buffalo 2013 - Numbers Stations are Everywhere
2014-05-19OpenStack on Ales 2013 - Gluster + OpenStack: The 2 Great Tastes...
2014-05-19Ignite Buffalo 2013 - Travel Hacking: Mileage Running
2014-05-19OpenStack on Ales 2013 - OpenStack Stresses Me Out
2014-05-19OpenStack on Ales 2013 - Managing Multiple Stacks
2014-05-19OpenStack on Ales 2013 - Ceph on Openstack
2014-05-19OpenStack on Ales 2013 - Monitoring OpenStack with Sensu
2014-05-19OpenStack on Ales 2013 - OpenStack DNSaaS: Designate
2014-05-19OpenStack on Ales 2013 - TripleO: OpenStack on OpenStack
2014-05-19GopherCon 2014 Writing and Debugging a Web-Based Multi-Player Game
2014-05-19GopherCon 2014 Making Docker GO: Why One of the Fastest Growing Open Source Projects by Victor Vieux
2014-05-19GopherCon 2014 Building an Analytics Engine Using MongoDB and Go by William Kennedy
2014-05-19GopherCon 2014 Painless Data Storage with MongoDB and Go by Gustavo Niemeyer and Steve Francia
2014-05-19GopherCon 2014 Best Practices for Production Environments by Peter Bourgon
2014-05-19GopherCon 2014 A Channel Compendium by John Graham-Cumming
2014-05-18GopherCon 2014 Go QML Contest Winners! by Gustavo Niemeyer
2014-05-18GopherCon 2014 Go from C to Go by Russ Cox
2014-05-18GopherCon 2014 Camlistore & The Standard Library by Brad Fitzpatrick
2014-05-18GopherCon 2014 Taking Back the Command Line with Go by Mike Gehard
2014-05-18GopherCon 2014 Spray Some NSQ On It by Matt Reiferson



Tags:
gophercon2014
gophercon
golang