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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

1,000,000 daily users with no cache

114 点作者 Sato超过 13 年前

11 条评论

Udo超过 13 年前
That was an interesting read. I'd love to watch the actual presentation if it's available somewhere.<p>One thing that struck me as odd from a software design point of view is the "tile table". The name and the absurdly high number of I/Os per second suggest that each tile was stored in a separate database record? The game looks like a Farmville clone, so wouldn't it have been more economical to store the entire farm of a player in one blob?<p>Is there someone from Wooga here to shed some light on the architectural decisions that went into the game?
评论 #3157539 未加载
评论 #3158479 未加载
tyler超过 13 年前
"with no cache" is a bit of a misleading statement, considering the entirety of their data set is stored in RAM. Turns out you don't really need memcached if you don't read anything from disk.
评论 #3157778 未加载
评论 #3158822 未加载
fleitz超过 13 年前
I really want to know what would have happened if they just bought a couple 24 drive arrays and stacked them full of SSDs. 50,000 IOPS per second sounds like it could be handled with a couple gigs of BBWC and a decent drive array. Typically, you want about 200 15K spindles per CPU spread over a couple controllers, jammed full of delicious battery backed RAM.
srgseg超过 13 年前
In this Wooga presentation they talk about how DB hosting in the cloud is 20x more expensive than on rented dedicated servers, or 5x more expensive per DAU across the entire variety of servers required.<p><a href="http://www.slideshare.net/wooga/games-for-the-masses-scaling-rails-to-the-extreme" rel="nofollow">http://www.slideshare.net/wooga/games-for-the-masses-scaling...</a>
评论 #3158381 未加载
iconfinder超过 13 年前
Why did you go for Ruby instead of PHP?<p>Would you have had the (roughly) same database issues if you didn't have that many writes to the db?
评论 #3158547 未加载
评论 #3158549 未加载
gibybo超过 13 年前
50,000 writes/sec seems insanely high for a flash game, would love to hear more about what those writes are doing.
评论 #3158849 未加载
henrikschroder超过 13 年前
I'm amazed that some people still do services without using memcached or similar. It's not very difficult, and brings enormous benefits.<p>So, why not?
评论 #3157724 未加载
评论 #3158826 未加载
rmoriz超过 13 年前
In another presentation of Wooga they described why they went off-cloud with the later games using cheap dedicated servers from <a href="http://hetzner.de/" rel="nofollow">http://hetzner.de/</a><p>Since hetzner recently upgraded the hardware but also limited the different options it would be very interesting to see what Wooga takes out of this...
revorad超过 13 年前
Can any DB veterans offer any insight on how this would scale if they had used PostgreSQL instead of MySQL?
评论 #3158228 未加载
Sato超过 13 年前
I just notified @jrirei of this discussion.
fgielow超过 13 年前
How do you people think this would cope with using NoSQL approaches, such as MongoDB, instead of SQL based ones?