RevTrax provides an AI-based promotional and advertising offer management platform for consumer packaged goods companies and retail brands. The RevTrax platform makes it easier for companies to run smarter offers, track attribution, and drive a higher ROI from their digital marketing efforts.
“The goal of the company has always been to make our clients more efficient and maximize the return on their investment with respect to offers and promotions that they’re running,” said RevTrax Chief Technology Officer and co-founder Greg Hansen. “When we started the company about 11 years ago, the principle was to measure and track everything through the full conversion funnel, which no one else was really doing when it came to in-store sales. Now that we’ve collected all of that data and knowledge, we’re able to really put the platform on autopilot and propel it with our AI offering.”
RevTrax operates in a multi-datacenter environment. They were using MySQL to handle their large volume of reads and writes, but the relational database was having trouble scaling to meet increasing demand.
RevTrax needed to find a database that could provide guaranteed uptime and seamless scaling. They investigated a number of potential NoSQL solutions until discovering Apache Cassandra™ and learning how it was built to handle large-scale applications in multi-datacenter environments.
“The main reason for choosing Cassandra was the uptime and also the linear scale,” Hansen said. “If we need to scale out, it’s easier to scale the reads and writes with Cassandra than it is with MySQL. But the real big thing that caught my eye, besides the performance, was Cassandra’s durability. I can have multiple databases, clusters, and data centers spread out all over the world and not worry about any single point of failure. That’s what really sold me on Cassandra.”
The second thing that caught Hansen’s eye was the masterless architecture. “Having a masterless solution was fantastic and super compelling,” says Hansen. “Our whole infrastructure is powered by Cassandra.”
RevTrax has been able to significantly reduce downtime in order to meet its ultimate goal of zero downtime. “Our metric is how long we go without any downtime,” Hansen said. “We’ve been able to achieve that with Cassandra in ways that we could not have with MySQL.”
The other key success metric for RevTrax is performance. “If you’re making a consumer wait even a couple of seconds to render something on the page, that’s too long,” Hansen said. “Now we get far better performance, call it up to 10 times what we used to get with MySQL, so that’s big.”
The uptime was big, because now instead of having a traditional disaster recovery situation they handle everything with Domain Name System (DNS) load balancing.
“We’ve got multiple data centers, and if one goes down DNS just won’t send traffic there, and we already know that data is in sync in the other data center because it’s already live. Then when the other data center comes back up, Cassandra basically will self-heal, which is fantastic,” says Hansen.
And, of course, RevTrax continues to enhance its AI engine.
“We are putting a lot of effort into our data asset and gaining valuable insights for our consumers through artificial intelligence,” Hansen said. “We feel that it will make our clients far more efficient without having to guess, ‘What’s the right offer value?’ Let the machine do it. It can do it at a scale that a human can’t. It can pivot and make decisions faster than a human can ever do it. All the data is there, and clients still have full control, so if they don’t want to use it in every situation, they don’t have to. In order to do that at scale, as I said, we feed all of this data into Cassandra.”