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.

1,000,000 daily users with no cache

114 pointsby Satoover 13 years ago

11 comments

Udoover 13 years ago
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 未加载
tylerover 13 years ago
"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 未加载
fleitzover 13 years ago
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.
srgsegover 13 years ago
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 未加载
iconfinderover 13 years ago
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 未加载
gibyboover 13 years ago
50,000 writes/sec seems insanely high for a flash game, would love to hear more about what those writes are doing.
评论 #3158849 未加载
henrikschroderover 13 years ago
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 未加载
rmorizover 13 years ago
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...
revoradover 13 years ago
Can any DB veterans offer any insight on how this would scale if they had used PostgreSQL instead of MySQL?
评论 #3158228 未加载
Satoover 13 years ago
I just notified @jrirei of this discussion.
fgielowover 13 years ago
How do you people think this would cope with using NoSQL approaches, such as MongoDB, instead of SQL based ones?