TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Overview of Running an Online Game for 3 Years

197 点作者 def-将近 9 年前

9 条评论

themartorana将近 9 年前
€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 未加载
lccarrasco将近 9 年前
This was really great to read, in-depth and interesting, thanks a lot for taking the time to write it. :)
adynatos将近 9 年前
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 未加载
eggy将近 9 年前
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...
mentos将近 9 年前
Hey great work!<p>Curious to hear what the client stack was? Did you use LibGDX by chance?
评论 #11886160 未加载
qwertyuiop924将近 9 年前
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.
ashitlerferad将近 9 年前
What was the reason for the fork with Teeworlds?
评论 #11887355 未加载
urza将近 9 年前
I would like to see this kind of post for slither.io
ObeyTheGuts将近 9 年前
Maidsafe will eliminate all this server problems!