TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Overview of Running an Online Game for 3 Years

197 pointsby def-almost 9 years ago

9 comments

themartoranaalmost 9 years ago
€10&#x2F;m&#x2F;location is damn impressive. I&#x27;ve run servers for a turn-based asynchronous and real-time casual game for the past three years. With ~700k unique monthly players (about 200k&#x2F;day) we do about 1500 request&#x2F;s at peak and pay thousands a month for our AWS stack. I&#x27;m not mad at it, I think we get great utility for what we pay, but this is lean and mean for realz.<p>Kudos!
评论 #11886187 未加载
评论 #11886087 未加载
评论 #11886320 未加载
评论 #11886201 未加载
评论 #11892758 未加载
lccarrascoalmost 9 years ago
This was really great to read, in-depth and interesting, thanks a lot for taking the time to write it. :)
adynatosalmost 9 years ago
The author writes: &quot;Reduce the number of syscalls by caching the value of gettimeofday() until a new tick happens or network packet comes in&quot; But I&#x27;m pretty sure glibc on recent Linux handles gettimeofday in user-space, without context switch (kernel maps the data to userspace). I guess caching the value locally and updating it 1&#x2F;sec or something would still help if there are thousands of calls&#x2F;sec, but not as much as if it was really a syscall.
评论 #11887575 未加载
eggyalmost 9 years ago
Awesome and inspiring to me, great work!<p>I am now looking at LFE (Lisp Flavored Erlang) and ELM to create a very small online game. It makes me want to maintain C&#x2F;C++ chops.<p>It&#x27;s sad Apple is so walled in that you need a VM to build for OS X, and iOS doesn&#x27;t even make the list. I have an iPad, but I use an Android phone for that reason, and I only program mobile for Android. Apple is getting better at supporting iOS devs of late though...
mentosalmost 9 years ago
Hey great work!<p>Curious to hear what the client stack was? Did you use LibGDX by chance?
评论 #11886160 未加载
qwertyuiop924almost 9 years ago
I just re-downloaded (vanilla) teeworlds the other day. After playing a lot of QW and Xonotic, it&#x27;s nice to play something like HLDM or TeeWorlds that&#x27;s a bit more wacky and less competitive. There is no bunnyhopping in teeworlds. Just cute fluffballs, hookshots, and heavy weaponry. Although, for whatever reason, all of the players are in the EU, or SA, and I&#x27;m USEast, so the ping&#x27;s really high. One of many reasons I want to get a GPU that can handle UT4. Yes, mine is really that bad.
ashitlerferadalmost 9 years ago
What was the reason for the fork with Teeworlds?
评论 #11887355 未加载
urzaalmost 9 years ago
I would like to see this kind of post for slither.io
ObeyTheGutsalmost 9 years ago
Maidsafe will eliminate all this server problems!