Back

Vercel uses Tinybird to help developers ship code faster

Vercel's customers see usage metrics for their applications in realtime, so they can accelerate releases that boost their user experience.

About the company

Vercel is the best place to deploy any frontend app, helping developers deploy instantly, scale automatically, and serve personalized content with an obsessive focus on end-user performance.

14.5B
written rows per day
15.9PB
processed per month
+1.5M
requests per day

Tinybird is the most exciting data company since Snowflake. It's revolutionized the way we think about real‑time data analytics at Vercel, for billions of data points per day.

Guillermo Rauch

CEO at Vercel

Problem

Speed is everything for Vercel's customers. Vercel Analytics was originally built on AWS with Amazon Kinesis Data Firehose and Amazon Athena to ingest data and query application performance. The challenge was that this data wasn't in real time - after enabling Analytics, it could take up to 30 minutes for data to be available to the user.

Slow loading times meant more customer support tickets and slowed down the speed at which customers could understand their users' behavior and iterate.

Why Tinybird

When Vercel moved their analytics engine to Tinybird, they no longer relied on their complex AWS set-up. They could use Tinybird to ingest data via HTTP and expose low-latency HTTP endpoints using SQL, all with almost no guidance from the Tinybird team while reducing their tooling costs.

Results

  • Real-time data availability. Data is available seconds after enabling Analytics, not 30 minutes.
  • Reactive dashboard experience. Even when viewing data for long time spans.
  • Reduced tooling complexity. Replaced Kinesis, Firehose, and Athena with a single platform.
  • Expanded use cases. Now using Tinybird for real-time alerts, DDoS detection, and network traffic monitoring.

1. Making real-time analytics truly real time

Speed is everything for Vercel's customers. They want to understand how their users are experiencing their application—all in real time. Does their site load quickly? Is it responsive? Is it visually stable? Accessing this data means that Vercel's customers can draw insights and take action.

Vercel Analytics makes this process easy by collecting metrics from a user's device and calculating how well an application is performing in the wild. Analytics was originally built on AWS with Amazon Kinesis Data Firehose and Amazon Athena to ingest data and query application performance. For Joe Haddad, a Senior Software Engineer at Vercel, the challenge was that this data wasn't in real time. Their setup wasn't designed for analyzing huge volumes of data in realtime, at scale. For example, after enabling Analytics, it could take up to 30 minutes for data to be available to the user.

For Vercel's customer success team, slow loading times for the Analytics dashboard meant more tickets raised, which in turn meant that greater resources were required to keep up with demand. For customers, it slowed down the speed at which they could understand their users' behavior, and iterate. And Speed is always a top business objective at Vercel.

Vercel Analytics Dashboard

2. Real-time analytics and more use cases

When Vercel moved their analytics engine to Tinybird, everything changed. They no longer relied on their complex AWS set-up—Kinesis, Firehose, and Athena—and could instead use Tinybird to ingest data via HTTP and expose low-latency HTTP endpoints using SQL. They did all this with almost no guidance from the Tinybird team, while reducing their tooling costs.

Users now have a reactive dashboard experience, even when viewing data for long time spans. Data is available seconds after enabling Analytics, and users can iterate faster as they can immediately see updated metrics after a new production deployment.

Given the success of using Tinybird to make Vercel Analytics real time, the development team at Vercel saw the power of accessing other huge datasets in real time. They began experimenting with using Tinybird for other use cases, including real-time alerts, detecting and mitigating DDoS attacks, and adding network traffic information to Vercel Analytics. The team's excited to continue expanding their use of Tinybird in the future.

Tinybird is the most exciting data company since Snowflake. It's revolutionized the way we think about real‑time data analytics at Vercel, for billions of data points per day.

Guillermo Rauch

CEO at Vercel

Share this story!

Ship faster with Tinybird

The data infrastructure and tooling to ship enterprise grade analytical features faster and at a fraction of the cost

Try it for free