This post is sponsored by Groupon, a Node Knockout 2013 platinum sponsor.

Groupon recently completed a year-long project to migrate its U.S. web traffic from a monolithic Ruby on Rails application to a new Node.js stack with substantial results.

The entire U.S. web front-end has been a single Rails codebase from its inception. The front-end codebase quickly grew large, which made it difficult to maintain and challenging to ship new features. As a solution to this gigantic monolith, we decided to re-architect the front-end by splitting it into small, independent and more manageable pieces.

At the center of this project, we rebuilt each major section of the website as an independent Node.js application. We also rebuilt the infrastructure to make all the independent apps work together. Interaction Tier (I-Tier) was the result.

Some of the highlights of this great architecture migration include the following:

  • Page loads are significantly faster across the site

  • Our development teams can develop and ship features faster and with fewer dependencies on other teams

  • We can eliminate redundant implementations of the same features in different countries where Groupon is available

This post is the first in a series about how we re-architected the site and the great benefits we’re seeing that will be key to driving Groupon business forward. Read on for the full story.

  1. shaopeng-he reblogged this from nodeknockout
  2. nodeknockout posted this
Blog comments powered by Disqus