GopherCon 2014 Writing and Debugging a Web-Based Multi-Player Game
4,895 views · Published 19 May 2014 · 27:53 · Indexed 30 October 2026
Channel: Confreaks · 2014 · Science & Technology
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/
More from this channel
-
35:52
Code Design and the Science of Pleasure
-
5:40
Services Inception with Ruby by Dave McCrory
-
48:58
Ruby Software Continuously Delivered and Exhaustively Explained by Brian Guthrie, Srushti Ambekallu
-
40:58
Jruby Polyglot Heaven by Thomas E Enebo and Charles Oliver Nutter
-
42:17
Be a Minecraft modman with Purugin by Thomas E. Enebo
-
36:46
Your tests are lying to you by Chris Parsons
-
23:46
KidsRuby: Think Of The Children! by Ron Evans
-
52:05
Resources, For Real This Time (with Webmachine) by Sean Cribbs