Sweet Tooth

Loyalty Service Migrates from AWS to Heroku, Giving Developers Speed, Scalability, and Confidence

Sweet Tooth offers online merchants a points and rewards app for their e-commerce sites

What makes us choose one e-commerce site over another? Many sites offer a trusted brand, great products, low prices, and a smooth shopping experience. Often, it’s that one extra incentive, the thing that "sweetens the deal," that makes us come back to the site over and over. That little extra is at the heart of loyalty programs everywhere that aim to boost competition in a crowded market.

Nowadays, online retailers can choose from a range of sophisticated e-commerce technologies to drive their business. However, adding a loyalty component to their offering can be cumbersome and expensive. Back in 2010, a few undergrad friends from Waterloo, Ontario formed a company that implemented e-commerce solutions for merchants. Many of their merchants were having issues getting consumers to make repeat purchases. They often requested a loyalty mechanism for their store that could be customized to fit their brand and offering.

Sweet Tooth

The young company saw an opportunity to create a simple, yet powerful, points-based loyalty service that could plug into existing e-commerce technologies. Thus, the company pivoted to build Sweet Tooth, a points and rewards module for e-commerce stores. Sweet Tooth allows brands to create white-labeled, point-based loyalty programs that they can configure and self-manage.

Infrastructure in the Raw

The Sweet Tooth team launched the first version of their product on Amazon Web Services. As the founders didn’t have a lot of operations experience, they needed to hire DevOps staff to configure and manage their new infrastructure. However, AWS proved too difficult to configure in a modern way to meet the needs of their app.

Sweet Tooth

Next, Sweet Tooth hired an operations-as-a-service company to manage their infrastructure. This freed up the team to focus on their strengths—developing and improving their product. This approach worked well for a while, however, as the company matured, they started deploying weekly, and sometimes daily. As such, their team needed more visibility and control over their apps on production. Working with an external company meant lengthy turnaround times and several back and forth emails, which made development excruciatingly slow.

A Sweeter Loyalty Engine on Heroku

Sweet Tooth’s CTO, Bill Curtis, had previous personal experience using the Heroku platform for side projects and hackathons. The platform offered the stability and scalability that the business needed to grow, and it offered the flexibility and fine-tuned control that the engineers needed to accelerate development.

Sweet Tooth

We really like how Heroku empowers developers to manage and scale apps without needing to know every sort of server configuration. We’re able to seamlessly scale during traffic spikes, so we can provide the best experience for our customers and their customers. Bill Curtis, Co-Founder & CTO, Sweet Tooth

Sweet Tooth transitioned their entire stack onto Heroku, including their Rails API and Ember.js front-end app. They migrated their database from MySQL to Heroku Postgres, and the team was especially happy with Postgres’ automatic backups and forking/following capabilities.

We moved our data from MySQL to Heroku Postgres, which is awesome. It would be worth switching to Heroku just for their Postgres offering! Bill Curtis, Co-Founder & CTO, Sweet Tooth

The development team used an array of Heroku Add-ons, including Deploy Hooks, Librato, Rollbar, Heroku Redis, and SSL encryption. The ability to add such services with a simple click has been a huge time-saver for the team. In the past, if they needed to integrate a logging system or error tracker, they’d have to plan it into their sprint cycles and deal with any complexities that arose from adding third-party technologies to their code. With Heroku, they can opt-in with the click of a button, or try different services to see which they like best.

Sweet Tooth

The Heroku Add-ons marketplace is by far one of our favorite features. Heroku’s one-click app integrations have saved us weeks of development time. Bill Curtis, Co-Founder & CTO, Sweet Tooth

Rapid Rewards on Heroku

In the six months that Sweet Tooth has been on Heroku, the engineering team has already been able to move faster. They now have total visibility into how their app is running, which gives them the flexibility and confidence they need to deploy changes every day. They can easily scale during peak traffic, such as on Black Friday and Cyber Monday, while ensuring their system is stable—all without worrying about technical overhead.

During this year’s holiday traffic spikes, our product availability was seamless on Heroku. That would not have been the case on our old infrastructure. Bill Curtis, Co-Founder & CTO, Sweet Tooth

Ultimately, Heroku has enabled Sweet Tooth to ship better product faster and more reliably. The development team can focus on evolving their product and fulfilling their core purpose—helping merchants retain happy customers.

Are you building an e-commerce enabling app? After moving to Heroku, the Sweet Tooth team has been able to accelerate development and easily scale to handle traffic spikes. For more information, contact Heroku today.

Read our Developer Interview with Bill Curtis, to learn more about Sweet Tooth’s stack, architecture, and development experience.

More stories