Moving from a WordPress Monolith to Ruby on Rails Microservices

GrowthHackers is a marketing platform that offers a set of tools and also serves as a marketing community for professional learning and growth. They needed to modernize their solution and also boost product development.

MobiDev transformed their solution architecture from a monolith to microservices and migrated it from WordPress to Ruby on Rails. We also helped them build a twice-a-week release cycle.

Client Country

USA

Country

Client Industry

Marketing

Industry

Client Cooperation

2014-2017

Cooperation Period

Client Cooperation type

Software Development

Cooperation Type

The Story Behind the Monolith to Microservices Migration

GrowthHackers ran two products. The Community is a communication hub that has multiple contributors, including guests from NASA and Twitter. The Projects is a platform that helps growth teams achieve their objectives.

The Community was located in a WordPress blog, which by 2014 had become a technological dead end that didn’t enable growth. The company partnered with MobiDev to modernize their communication hub.

We split the system into microservices and moved Community to Ruby on Rails for better performance.

Business Value of Migrating Monolith to Microservices

  • Performance problem solved through optimized interactions between services.
  • Main parts split into their own services. User authentication, integrations and billing each run as a separate service.
  • A codebase new engineers can learn quickly. Business logic is divided into entities such as card, project and integration, so a new team member, or an entirely new team, can study the project quickly.
  • Twice-per-week releases with a product team of 12 at its peak, while the client’s focus stayed on business growth.

What the Client Says

Looking for an awesome offshore development team? Check out MobiDev. I’ve been working with them for years.

sean-ellis

Sean Ellis

CEO

Project Scope of WordPress to Ruby on Rails Move

Stage 1. Monolith to microservices, WordPress to Ruby on Rails. We deconstructed the monolith into microservices and rebuilt Community on Ruby on Rails. Smart caching and Redis handled the performance risk.

Stage 2. Growth and automation. As functionality grew, we containerized the main parts with Docker, running on Heroku with PostgreSQL. We applied domain-driven design on Rails.

Stage 3. Product evolution support. Dynamic work at that release pace took significant management effort. We kept the process visible to the client and handled much of the routine.

Deliverables of the GrowthHackers Migration Project

  • Microservices architecture replacing the original monolith
  • Community platform on Ruby on Rails
  • Separate services for user authentication, integrations and billing, containerized with Docker
  • Heroku hosting with PostgreSQL
  • Caching layer on Redis
  • Domain-driven business logic layer on Trailblazer
  • Admin panel on Active Admin
  • Background job processing with Sidekiq
  • Third-party integrations including Stripe, Slack, Segment, Optimizely, Jira, Algolia, Zapier and Sentry
  • Automated test suites with RSpec, MiniTest, Capybara and Selenium
  • Full data migration from WordPress to Rails for Community
  • Smooth transition support with both WordPress and Rails working in parallel for the transition period.

Tech Stack

Frontend
Backend
Database & Caching
DevOps & Infrastructure
Integrations
Testing
Monitoring & Error Tracking
Legacy (retired)
Angular, Vue.js, Webpack
Ruby on Rails, Trailblazer, Active Admin, Sidekiq, EventBus
PostgreSQL, Redis
Docker, Vagrant, Ansible, Capistrano, Monit, AWS, Heroku, Codeship, Semaphore
Stripe, Algolia, Embedly, Google Universal Analytics, Segment, Kissmetrics, Optimizely, Clearbit, Pivotal Tracker, Jira, Slack, HipChat, Twitter (now X), Buffer, Zapier
RSpec, MiniTest, Capybara, Selenium
Sentry, Rollbar, Logentries, Papertrail
WordPress
Frontend
Angular, Vue.js, Webpack
Backend
Ruby on Rails, Trailblazer, Active Admin, Sidekiq, EventBus
Database & Caching
PostgreSQL, Redis
DevOps & Infrastructure
Docker, Vagrant, Ansible, Capistrano, Monit, AWS, Heroku, Codeship, Semaphore
Integrations
Stripe, Algolia, Embedly, Google Universal Analytics, Segment, Kissmetrics, Optimizely, Clearbit, Pivotal Tracker, Jira, Slack, HipChat, Twitter (now X), Buffer, Zapier
Testing
RSpec, MiniTest, Capybara, Selenium
Monitoring & Error Tracking
Sentry, Rollbar, Logentries, Papertrail
Legacy (retired)
WordPress

Has Your Product Outgrown the Platform It Started On?

Tell us what your legacy code is blocking, and we’ll plan the migration to a new architecture.

FAQ