Authors: Rachel Brown (Product Manager) and Alex Tamoykin (Tech Lead), originally posted on Tala Blog
In 2019, Tala’s Product and Engineering teams partnered with Right Balance to solve a number of complex problems for our business and our customers in emerging markets. In this article, we share how a new architectural design helped us drive sustainable growth for the company as well as solve one of our customers’ top pain points.
The new architectural design we built involves SQS queues and AWS lambda functions. We decided to use this design because of several factors:
Like many businesses, Tala’s marketing team uses digital advertising channels to introduce our product to new audiences. Early last year, the effectiveness of Tala’s Facebook and Google ads were being primarily measured by install events (i.e., users who download the app). We quickly identified an opportunity to improve the effectiveness of campaigns by optimizing ads for post-install events rather than downloads.
Alex and Rachel at Tala’s HQ in Santa Monica, CA.
The marketing team identified several high-priority post-install events, which we set up triggers for on backend services. When an event is triggered, a file is sent to an SQS queue. The lambda function then retrieves this information from the queue and passes it to our marketing platform API. This architecture is much more resilient and accurate than the team’s previous client-side event tracking solution.
Tala’s engineering team designed, built, and tested the new framework over several sprints. Our marketing team then ran a scaled Facebook campaign and realized a significantly higher return on ad spend when optimizing for post-install events compared to install events, in addition to maintaining 100% uptime and data accuracy.
In emerging markets such as Kenya, the second-hand phone market is massive. Consumers are also sensitive to download and storage size due to device and data constraints. Because Tala uses device data (with user permission) to underwrite personal loans, the following is a common scenario:
Tala’s legacy device management rules, used to prevent fraud, were blocking tens of thousands of new users per month from signing up and were one of the largest drivers of customer support tickets globally. In addition, this problem had grown 3x in volume over the past 2 years and was expected to continue increasing exponentially the longer the company operated in a given market.
In this situation, we launched a set of new device management rules and a lambda function. The lambda stored a large amount of event data in a predefined format in a Cassandra database. Doing some pre-processing of the data upfront allowed us to achieve constant database lookups to identify the device ownership instantly. We enabled new users to more seamlessly sign up for the app while decreasing customer support tickets related to device issues by 91%.
As thought workers and entrepreneurs, we solve challenging problems every day. As you scale your business, which used to work in the past needs to be challenged and rethought. Using the right technology the right way helps you break through the limits and take your product to the next level.