~/talk

Massively Multiplayer Online Game Servers in Twisted Python

Talkat Swiss Python Summit 2017 · on Friday, 2017-02-17· [game-development, networking]
name:Dan Maas
links:none on file
slides:none on file

Backend for Thunder Run runs in Python on Twisted, using deferreds then inlineCallbacks and migrating toward async/await to keep latency low. System claims 100,000+ monthly players with about 1,000 concurrent users, scales horizontally by one process per core (roughly one core per 100 players), persists state to S3, calls third‑party APIs and WebSockets asynchronously, and instruments every entry point with timers to track average and peak latency and in‑flight request counts.

AI-written summary · about

  1. 0:00Introduction to speaker
  2. 1:02Battle House game overview
  3. 2:59Game engine and architecture
  4. 4:46System components and tools
  5. 7:49Server request handling
  6. 10:19Twisted and async basics
  7. 12:50Sync vs async code paths
  8. 15:32Handling asynchronous tasks
  9. 18:24Promises, futures and deferreds
  10. 21:11Inline callbacks and modern API
  11. 23:26Production considerations
  12. 25:19Latency profiling and metrics
  13. 28:57Q&A and scaling
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.