Tinybird Customer Story

Zembula fast-tracks its roadmap with Tinybird

Learn how a rising email personalization platform used Tinybird to answer previously unanswerable questions about real-time attribution for their retail customers.
Start building
No credit card required

Data Stack

Zembula uses Tinybird deployed on AWS, leveraging the Tinybird DynamoDB Connector to create a secondary index of real-time DynamoDB data in a platform perfectly suited for complex, real-time analytics.

“The better the tooling is, the faster we can iterate, and that's critical to getting a good solution. Tinybird has the best support and the best tooling of any hosted ClickHouse solution. It's best in class.”

Carl Thorner

Carl ThornerCTO & Co-Founder of Zembula

28.3TBprocessed/month

4weeks to prod

Zembula is an email personalization platform for enterprise retailers. Email marketing teams at companies like Land‘s End, Thrive Causemetics, and Forever 21 use Zembula‘s platform to create real-time, personalized content within email campaigns that lead to higher conversion rates and increased email ROI.

A vision for real-time email personalization

Zembula was founded to tackle a unique problem faced by email marketers. Unlike traditional web marketing, email marketers are constrained by the limited ability of email clients to render complex styling. Whereas a web developer can create highly customized and personalized webpages using HTML, CSS, and JavaScript, email marketers are generally constrained to HTML, inline styling, and static images. Because of this, email personalization is much more challenging.

The founders at Zembula recognized an opportunity to dramatically enhance the effectiveness of email marketing campaigns by building a platform that would automate the creation and delivery of personalized images unique to each recipient or segment.

Zembula‘s platform features their Composition Engine, a tool that allows designers to create pixel-perfect images complete with personalized information such as customer names, recommended products, and more. Their Decision Engine then selects the best, personalized creative for each recipient. The result for retailers is a highly personalized email experience that leads to incremental revenue that delivers 10-41x return on spend for retailers.

In addition, the founding team at Zembula envisioned a rich reporting experience that would allow customers to understand the impact of their designs.

“Our goal was to empower email designers to understand the impact their designs are having in the real world. Every tweak to an image in an email can have a measurable impact on revenue. We wanted our customers to see that.”

Robert Haydock

Robert HaydockCEO & Co-Founder of Zembula

Unfortunately, the technology they were using to deliver these real-time insights to customers wasn‘t working.

Slow queries and an ultimatum

Zembula initially chose Rockset to run their real-time analytics workloads. In June 2024, however, Rockset announced its acquisition and subsequent shutdown. Zembula was on the clock to migrate, but even before this news, the team was struggling to get the performance they needed from Rockset.

“We knew we had to leave Rockset due to its OpenAI acquisition, but we had started to feel the pain of using Rockset months before that. Queries were timing out or taking several minutes to finish, which wasn't close to feasible for our use case.”

Carl Thorner

Carl ThornerCTO & Co-Founder of Zembula

For some of their more complex use cases, Rockset simply couldn‘t handle the load. Queries were timing out, taking minutes to complete. Zembula was already at the compute limit of their existing Rockset instance, so they were facing a complex refactor on top of a massive increase in cost to scale the cluster.

Such a cost hike wouldn‘t just impact their own bottom line; it would undermine their core competitive value. Zembula‘s customers rely on them to boost Return on Ad Spend (ROAS). If costs go up, ROAS goes down, creating a churn risk for Zembula.

The founders knew this feature would be extremely valuable to their customers, but with Rockset it would simply be too expensive to deliver. They could build it, but the ROI wasn‘t there.

“OpenAI buying Rockset was the best thing that could have happened to us. It forced us to make a decision that changed how we thought about our data, its usability, and how we could deliver value on top of it.”

Carl Thorner

Carl ThornerCTO & Co-Founder of Zembula

Shifting to structured data

Initially, Zembula had chosen Rockset in part because of its support for unstructured data. They thought that they could avoid having to worry about strictly defined schemas, giving them more flexibility to build analytics without needing to set up indexes, typed columns, and sorting keys.

As they‘ve progressed in their data maturity by building out these features, they‘ve shifted their mindset. Now, they see structured data as the key to achieving the performance and ROI that they need to give their customers a useful solution.

“We were starting to see the limitations of our unstructured data model. So we saw the Rockset acquisition as an opportunity to make a switch to a more structured data model. We think that's the future, and we see a lot of our peers heading in that direction as well.”

Carl Thorner

Carl ThornerCTO & Co-Founder of Zembula

In the past, Zembula had evaluated different data tools including Redshift, BigQuery, AWS Timestream, Elasticsearch, ChaosSearch, Snowflake, and various other AWS solutions. At every turn, they ran into scalability issues and concerns about tooling.

Once they set their minds on more structured data formats, ClickHouse became an attractive option. Its columnar, structured storage format showed the potential to give them the cost-performance ratio they needed to deliver a valuable solution.

But, while ClickHouse as a foundational technology seemed promising, they were concerned about having the necessary tooling around the database to be able to be effective with it.

“When we started evaluating ClickHouse and some of the managed services for it, we had concerns about our productivity. We needed good tooling and good support if we were going to be successful with it.”

Carl Thorner

Carl ThornerCTO & Co-Founder of Zembula

Tinybird fast-tracked their adoption of ClickHouse

The engineering team at Zembula decided to use Tinybird as its real-time analytics platform. It offered the underlying performance benefits of ClickHouse‘s structured data model, with the necessary tooling and support they would need to be able to get to production as quickly as possible.

One thing that helped immensely was Tinybird‘s DynamoDB Connector, which simplified the process of syncing data from their DynamoDB tables into Tinybird. With the connector, they simply had to map their DynamoDB items to columns in Tinybird, and Tinybird automatically handled backfilling and continually syncing the DynamoDB table using change-data streaming upserts.

Once the data was in Tinybird, Zembula found a bunch of efficiency in Tinybird‘s hosted API solution. With Tinybird, they can immediately publish any query as a dynamic, scalable, and fully-documented REST API Endpoint. Integrating the data back into the product became much simpler, as they didn‘t need to worry about setting up and scaling a backend or building out their own API.

They relied heavily on Tinybird‘s tokens implementation, using custom JWTs to create row-level access policies for their multi-tenant application.

They also learned to love the Tinybird CLI and its ability to represent a data project as code. With these tools they could easily integrate Tinybird into their CI/CD pipelines, which made code delivery for their data analytics features much easier to manage and much safer.

Tinybird‘s support got Zembula to production in a month

Zembula‘s customers include massive, multinational retail companies that send a bunch of emails. Staring down a complex migration with massive amounts of data - and with a tight deadline to complete it before the Rockset shutdown - Zembula leaned on Tinybird‘s support team to help them move billions of rows of highly granular email data from their old environment onto Tinybird‘s platform.

“We started talking with Tinybird in August, and we were in production in September. It took 4 weeks, and three of those were doing the migration. Once the data was in Tinybird, our use case was in prod in a week.”

Robert Haydock

Robert HaydockCEO & Co-Founder of Zembula

Data migrations are rarely easy, but with Tinybird’s support they become manageable. Zembula was included in the beta program for the DynamoDB Connector and became partners with Tinybird support as they gathered feedback and iterated together to support the migration while building a product that could scale and support future customers.

“Tinybird's support is the best I've ever seen. They took ownership of our problems, drove them to the finish, and always had great transparency if there were any problems along the way.”

Carl Thorner

Carl ThornerCTO & Co-Founder of Zembula

Tinybird‘s performance eclipsed Rockset

Any developer moving from an unstructured, NoSQL data model to a structured, schema-dependent model will have some added anxiety about the added friction of defining schemas upfront. But the engineers at Zembula learned that the payoff was worth it. After moving data into Tinybird and setting up table schemas, they were able to write faster queries, faster.

“There's definitely some upfront time spent defining the schema, but I get that time back 10-times over when I'm querying the data. Not only is it so much faster to write and plan queries, but the queries themselves are so much faster.”

Carl Thorner

Carl ThornerCTO & Co-Founder of Zembula

Before making these changes, Zembula was generating attribution and revenue decisioning models, but they couldn‘t expose them to the customers because the performance wasn‘t there. Zembula‘s team could provide quarterly business reviews based on these long-running analytics queries, but they couldn‘t actually build features within their application based on that data.

By moving the data to Tinybird, they achieved the performance they needed to put data directly into the hands of their customers in real time, at a cost that didn‘t undermine their ROI.

“Tinybird was 100x faster than Rockset. Some of our queries went from timing out on Rockset to sub-second responses on Tinybird.”

Carl Thorner

Carl ThornerCTO & Co-Founder of Zembula

With Tinybird, Zembula changes its roadmap

When a designer creates a piece of content for an email campaign, they have to make choices about what components to use in their designs. Every component can impact the performance of that image, that email, and that campaign.

With Tinybird, Zembula has achieved a nearly instant feedback loop for designers. Instead of reviewing prior campaigns and trying to extract insight into the performance of various creatives weeks after the completion of a campaign, designers now see which components and creative elements will have the most impact as they select those components and add them to their designs.

Without Zembula, a designer could glean the overall performance of an email or campaign after the campaign ends. But with Zembula and the features they‘ve built with Tinybird, a designer now has deeply granular information about the performance of individual design elements as they‘re building.

“Before Tinybird, we simply didn't have a technical solution to bring real-time email content performance data to our customers. Now with Tinybird, we can show a designer, within milliseconds, the measurable impact of different creative elements they're using. It's truly amazing.”

Robert Haydock

Robert HaydockCEO & Co-Founder of Zembula

Emboldened by what Tinybird gives them, Zembula has changed its roadmap. Previously unanswerable questions - “Should I use a star rating or the review text?“ “Should I choose a percentage discount or fixed value code?“ “Should I use an animation or static image?“ - are just a query away, answered with real-time, quantifiable proof.

With Tinybird, Zembula has the tooling, performance, and cost-effectiveness they need from a real-time data platform to build these massively differentiating features coveted by marketers at the world‘s largest retailers.

Do you like this content?

Build fast data products, faster.

Try Tinybird and bring your data sources together and enable engineers to build with data in minutes. No credit card required, free to get started.
Need more? Contact sales for Enterprise support.