
INTRODUCTION
The world leader in beauty, championing the ‘Beauty Tech’
L’Oréal is the world leader in beauty — the sole focus of their expertise and passion for the past 115 years. In 2018, L’Oréal transitioned into a new era, introducing the term ‘Beauty Tech’, seizing the potential of new technologies.
With unprecedented speed and scale, tech has revolutionized lives and social interactions, opening new business opportunities to seize. To face this new paradigm, L’Oréal pioneered Beauty Tech, championing personalized, inclusive, and responsible beauty at scale with the motto: “Beauty for Each, powered by Beauty Tech.” Beauty Tech and Digital encompass all the augmented products and beauty devices, augmented marketing, online and offline services and digital platforms, powered by tech/IT, data and artificial intelligence. The company is committed to creating innovative solutions that both enhance beauty experiences and contribute to a future where beauty is inclusive, sustainable, and caters to the diverse needs and preferences of all individuals worldwide.
Tech Accelerator is an internal department dedicated to catalyzing digital innovation at L’Oréal. It has two divisions: Services and Solutions. Services create products for retailers and consumers. ModiFace is part of the Services division, for example. It’s the world-leader in the field of virtual try on (VTO) and gives customers the power to try on hundreds of new looks in minutes using virtual reality.
The Solutions division designs products to help L’Oréal staff be more efficient and productive. For example, it has created an AI-powered tool to make it easier to remove certain ingredients from formulas without changing the effectiveness, texture, or smell of the product.
“Our applications need to be fast, high performing, and able to process huge volumes of data seamlessly,” explained Moutia Khatiri, Tech Accelerator’s CTO. “That’s challenging to achieve, and MongoDB Atlas was the perfect database platform for the job.”
THE CHALLENGE
Complex calculations on vast volumes of data—without causing latency
One of the internal solutions needed to connect to multiple sources of data and look for correlations to advise staff on how to make more efficient business decisions. This involves storing large volumes of data while conducting real-time calculations and analytics.
“Users run simulations to forecast the outcomes of different business decisions, for example,” said Moutia. “These are complex calculations that need to retrieve and restructure large amounts of data from our data warehouse. The entire process can take 20 to 25 clicks, so if there was five second latency per click it would become unworkable.”
This solution was built on top of another NoSQL database to support the app, but it wasn’t powerful enough to handle the level of data required for calculations. It also had limited out-of-the-box functionalities, which made the performance and implementation agility very limited.
“The database wasn’t designed for calculations, so we had to do a lot of code-based calculations in the backend,” explained Mia Nasr Khneisser, Lead Full-Stack Developer, Tech Accelerator. “We ended up doing calculations through scripts instead of directly in the database and needed to add JavaScript code for even simple queries.”
This approach was unsustainable and unscalable. As the application generated more data and broadened in scope, performance continued to suffer.
“Performance is the most visible issue for users. They don’t care what’s causing it, they just want their apps to work,” added Mia. “Our database wasn’t suitable for high velocity iterations, so we needed to replace it quickly.”


