Maths Circle Ltd is the creator of Times Tables Rock Stars, an interactive and carefully sequenced math program with a rock star theme. Times Tables Rock Stars is successfully boosting times tables recall speeds of over a million pupils worldwide and is now used in more than 12,000 primary and secondary schools across the UK and internationally.
Maths Circle relies on a MySQL database as the repository for its application. Each day, 250,000 students answer multiplication and division questions—and race against each other in competitions—via the company’s website and mobile app. Millions of answers per day are stored in the database, which must support real-time updates. As the company initially scaled the number of users, the application would experience significant lag—sometimes as much as 45 seconds—during peak periods of the school day, resulting in frustrated students, teachers—and company employees.
Years before, a web designer had told Reddy about Percona Consulting as a resource for database optimization, but Reddy never felt the company was in a financial position to retain a consultant. However, as the level of customer dissatisfaction began threatening the viability of the company, he knew he had to act, and he contracted for four Percona Consulting days.
The way our system was performing, we were heading over a precipice,” said Reddy. “Percona completely turned us around. We are now providing a great customer experience. Our conversion and retention rates are up, and our attrition rates are down. And my staff are happier and proud of the stable system they are delivering.”
Still, Reddy had his doubts. How could this remote team that did not know his systems or how they were built figure out his issues? “I was wrong,” said Reddy. “They quickly took the vitals of our infrastructure and immediately diagnosed several issues. They quickly provided incredibly precise recommendations on what we needed to do, and we immediately saw tremendous improvement.” However, as the number of users continued to soar, the database experienced another capacity limit, and Reddy began to see performance issues again. He contracted for three additional Percona Consulting days, and once again, Percona provided another suite of razor-sharp recommendations. “It’s clear Percona engineers really know their stuff, right down to the physical level of how data is transferred,” added Reddy. “At times it seemed like wizardry. We could never acquire that kind of expertise in-house.”
Just some of the optimization benefits that Percona Consulting delivered included providing configuration improvements, identifying which queries needed to be improved and improving them, recommending which indexes to apply or eliminate, and suggesting changes to field types to reduce the size. Percona’s optimization “wizardry” also included recommending:
In addition to doing away with the frustrating lag in the application, Maths Circle can now comfortably support 50,000 concurrent users with the same infrastructure that was crashing at 25,000 concurrent users. “We now have a much more scalable solution in place,” added Reddy, “and ultimately, that will be great for our trial conversion and retention rates.”
Percona consultants are trusted advisors with decades of experience solving complex database performance issues and design challenges across multi-vendor database environments. Consultants provide unbiased recommendations on the best solution for each environment to help businesses reach their specific objectives.
Resources
RELATED PrEss