Archive for August 2007

And so it begins

And so it begins. Welcome to the maiden posting for the Hungry Machine blog. We’re 4 guys bringing our expertise in Ruby On Rails and experience from AOL, Revolution Health, and Blockbuster together to build some great new products and services. For those of you that read us at RevolutionOnRails, we have a new [...]

CNN/Business 2.0 picks up on the Facebook app buzz

Minor mention of our Visual CD Rack, a sister app of our bigger bookshelf application…
Read the article

Reconfiguring the whole rails stack via a central YAML file

The challenge with hosting of multiple Rails-based Facebook applications is that the amount of users grow quickly. To address this problem we are using EC2 nodes that we can expand/shrink as the demand grows. The price/performance ratio isn’t quite what we first expected, so we are moving toward having a few dedicated boxes instead. Another [...]

Killing sneaky mongrels

We found that sometimes monit fails to restart all mongrel instances after deployment and some of them end up running with the pid file gone. Since there is no pid, monit believes the instance is not running so it tries to start a new one on the same port and, of course, fails. Which leads [...]

Using mocks at the early stage of FB app development

Developing applications for Facebook is a pain. The tunnel approach helps a lot to ease that pain but even then I prefer to start a FB app as a regular application, polish the logic, and then convert it to the Facebook one by adding FBML and such. At the early stages of the development I [...]

Routing to the initial action after facebook application install

Some facebook applications might have multiple entries. For example, a user might be adding an application (action – new) or replying to an invitation (action – reply, param – id). Since the UI for Facebook application configuration allows to provide only static Post-Add URL it might seem like there is no way to route users [...]