Tinybird Customer Story
Zeno RochaCo-Founder & CEO at Resend
100TBdata processed/month
62msp90 query latency
2weeks to production
Resend is an email platform for developers to build, test, send, and measure transactional and marketing emails. With Resend, developers at companies like Warner Brothers, Supabase, and Fey can build and send emails with SDKs for their favorite programming languages. Resend is the best way for developers to send beautiful emails at scale.
Developers love Resend for its simple and integrated workflow to generate and send emails as code. In 2024, Resend released its now-popular Broadcasts feature, expanding its reach beyond transactional emails and into the big bad world of marketing.
While there's always been some marginal benefit in analyzing transactional email performance, marketing emails demand rich analytics. Resend wanted to equip SaaS builders and growth-minded founders with a great analytics experience to monitor email performance and optimize campaigns. Every marketer wants visibility into key email metrics such as delivery rates, bounces, clicks, opens, and unsubscribes, and SaaS founders are no exception.
Like many, Resend originally built its email platform around a core Postgres database. When exploring using this database to store event logs generated by Broadcast emails and run analytical queries, they quickly saw a problem.
Email metrics don't generally involve exceptionally complex analytical queries; knowing who opened an email is about as simple as countIf(event_type = 'open')
. But in the early days of Broadcast, Resend had already racked up 4 TB of logs, and even simple filtered aggregate queries were timing out on Postgres. Since they intended to integrate these analytics metrics into their application - and include dynamic filtering - they couldn't afford slow queries that would kill the UX.
Bu Kinoshita, co-founder at Resend, discovered Tinybird on Twitter as other engineering-led SaaS companies were using it to build similar things. He checked in with his peers on their Tinybird experience, liked what he heard, and started to explore a proof of concept with support from Tinybird engineers.
Initially, Bu mainly considered Tinybird for log storage and search, but he quickly realized it was the perfect piece of infra to underpin their Marketing Analytics feature.
While building a proof of concept, Bu sought answers to two questions:
Whereas Postgres struggled to handle the queries Resend wanted to build for its analytics feature, Tinybird excelled. In production, Tinybird has achieved p90 query latencies of under 100 ms.
The result is a snappy and responsive user analytics experience, even without relying on cache. Resend's customers get the freshest email performance data in real-time using the APIs Resend built with Tinybird.
Bu KinoshitaCo-Founder & CTO at Resend
Resend does a lot with a little, maintaining a lean engineering team that doesn't waste time on side quests or wheel reinventions. The team didn't want to spend time or resources learning, building, and maintaining data infrastructure. Like many SaaS products, they face real choices between building custom infra or building new product features.
Tinybird stood out against alternative analytics databases like ClickHouse because it offered not just a database, but infrastructure and tooling that handled ingestion, storage, compute, and API deployment in a single, integrated development flow. This gave Bu confidence that Tinybird was not only great for performance, but also great for shipping.
Using Tinybird, engineers at Resend built and released their Marketing Analytics feature in two weeks. The benefits:
They wrote some SQL, published API endpoints, and integrated them into their Next.js app
Bu KinoshitaCo-Founder & CTO at Resend
For Bu and the engineers at Resend, the choice to go with Tinybird was based on one thing: speed. They knew that a fast database would make their queries fast. But with Tinybird, their developers are fast, too.
Tinybird eliminates the need to build and maintain the otherwise complex infrastructure they would have needed to achieve what they've built. It abstracts the hard parts of real-time analytics into SQL and APIs. And it integrates perfectly with their existing git-based CI/CD workflows, making for fast, safe, and repeatable production deployments over time.
Bu KinoshitaCo-Founder & CTO at Resend
Spain
Marqués de Riscal 9 - 1º D
28010 Madrid
USA
41 East 11th Street 11th floor
New York, NY 10003
Copyright © 2025 Tinybird. All rights reserved
|