Tinybird Customer Story

How Raindrop became the Sentry of AI: Scaling to petabytes with Tinybird

Learn how this AI observability platform processes hundreds of millions of requests daily to help companies understand how users interact with their AI applications, powered by Tinybird's real-time analytics infrastructure.
Start building
No credit card required

We handle hundreds of millions of requests a day. When we tried this in Postgres, it immediately started to fail. With Tinybird, we were able to get our MVP into production in about a week, and it was already orders of magnitude faster—100x to 1000x faster—even before optimization.

Ben Hylak

Ben HylakCTO at Raindrop

100M+daily requests

100-1000xfaster than Postgres

1week to production

2-3fewer engineers needed

AI engineers use Raindrop to discover AI app anomalies, set up tracking, and curate datasets from real user interactions.

AI applications have been flying blind

As artificial intelligence becomes integrated into more products, companies face a new challenge: understanding how users interact with AI features and identifying when things go wrong.

Traditional software monitoring tools like Sentry have transformed how companies detect and respond to errors in their web applications. But the same paradigm doesn't exist yet for AI applications, leaving companies with limited visibility into their AI features' performance.

Monitoring for AI products doesn't really exist right now. With normal software, if you make a change and see an error, Sentry alerts you and you fix it. But if you make a change to an AI application and it suddenly starts refusing user requests, there's no way to find that out. You don't get an alert. If users are frustrated about a specific use case, you don't get an alert.

Ben Hylak

Ben HylakCTO at Raindrop

Raindrop is building Sentry for AI products—a monitoring platform that gives companies visibility into how their AI applications are performing, what topics users are exploring, and where issues arise.

First Postgres, then data exploded

As with many startups, Raindrop initially built their data infrastructure on Postgres. This worked well in the beginning, but quickly hit limitations as they started handling customer data.

We were just onboarding our first customer for a POC, and they already had millions of events a day. We had built out a little POC in Postgres, which is what we were familiar with, and it immediately started to fail.

Ben Hylak

Ben HylakCTO at Raindrop

The team faced multiple challenges with their Postgres implementation:

  • Poor performance with time series data
  • Slow aggregation and filtering operations
  • Difficulty handling text search at scale
  • Complex workflows around analyzing and processing events

They needed a solution that could not only support their user-facing analytics but also their internal metrics.

Raindrop chose Tinybird for speed and simplicity

Raindrop knew they needed a database designed for analytics workloads. After evaluating options like ClickHouse Cloud and various providers, they selected Tinybird for two critical reasons: implementation speed and reduced complexity.

Massive performance gains

After switching from Postgres to Tinybird, Raindrop saw immediate performance gains even without any optimization.

The magic moment was when we tried Tinybird for the first time. Even before we had actually optimized anything—before we had set up skipping indices or anything—it was already orders of magnitude faster, like 100x to 1000x faster.

Ben Hylak

Ben HylakCTO at Raindrop

This immediate performance gain made the decision clear for Raindrop, but it wasn't just raw query speed that won them over. As the team began working with Tinybird, they discovered several key architectural advantages that aligned perfectly with their engineering values and security requirements.

Intuitive developer experience

For a small team transitioning from Postgres to a column-oriented analytics database, the learning curve could have been steep. Tinybird's developer-friendly interface helped bridge this knowledge gap.

Playgrounds were extremely helpful as we were migrating, trying to transfer all of our Postgres knowledge over to ClickHouse. Tinybird made that really, really easy. Just being able to see how many rows a query touched. I think it would have been extremely hard for the team to transfer their Postgres knowledge without that.

Ben Hylak

Ben HylakCTO at Raindrop

The interactive SQL environment allowed Raindrop's engineers to experiment with queries, see immediate results, and understand the performance implications of different approaches. This accelerated their learning and enabled them to quickly build expertise in optimizing time-series analytics queries.

Clean architecture

Raindrop valued Tinybird's clean separation of concerns, which allowed them to maintain a well-structured application architecture while integrating powerful analytics capabilities.

The abstraction of pipes is really beautiful. The way it takes parameters is really beautiful. It creates this very clean separation between your data layer and the rest of your application.

Ben Hylak

Ben HylakCTO at Raindrop

This architectural elegance meant Raindrop could maintain a clear separation between their data processing logic and application code. Engineers could modify analytics queries without touching application code, and vice versa, reducing coupling and simplifying maintenance as the product evolved.

From Postgres to production in one week

Raindrop was able to move remarkably quickly with Tinybird, transitioning their first proof-of-concept customer from Postgres to Tinybird in about a week.

For our POC for that first customer, which was still doing millions of events a day, we essentially switched from Postgres to Tinybird in about a week. So it was really fast.

Ben Hylak

Ben HylakCTO at Raindrop

Tinybird's branching feature proved crucial for Raindrop's rapid development cycle, allowing them to experiment with different approaches without disrupting production.

This rapid implementation enabled Raindrop to build several key features powered by Tinybird:

Powerful filtering and aggregations

Tinybird makes it possible to narrow down a search to a specific property, for example, to see that an issue is primarily impacting a specific AI model or tool call.

Internal analytics & monitoring

Much of Raindrop’s internal monitoring is built directly within Tinybird as well. By bringing Raindrop's internal analytics dashboards in-house, Raindrop can build powerful dashboards and alerting systems that can notify Raindrop and their customers, as well. For example, if a customer has a burst of 100k events, Raindrop's issue detection can experience a slight lag. Now with Tinybird, they can show that to their customers.

Time series analytics

Throughout the product – whether in Slack or the Dashboard – Raindrop shows customers charts to understand how usage of their AI product is changing over time. These graphs are all built on top of Tinybird. Powerful features like WITH FILL/STEP abstract the hardest parts of building reliable and performant charts.

Saving the equivalent of multiple engineering hires

When asked about the return on investment from implementing Tinybird, Hylak's answer was clear and quantifiable:

I think it's probably saved us from hiring around two to three ClickHouse engineers. Yeah, that's a lot of work.

Ben Hylak

Ben HylakCTO at Raindrop

For a small startup team, this represents a significant cost saving and allows them to focus on building their core product rather than managing infrastructure.

Raindrop has also found a balanced approach between traditional databases and analytics platforms:

This practical approach has allowed Raindrop to build a robust monitoring platform that can scale with their customers while maintaining a lean engineering team.

Advice for teams evaluating similar challenges

For teams facing similar challenges with time-series data in Postgres, Hylak offers clear advice:

If you're handling large volumes of time series data, you should probably be using ClickHouse. And if you want to use ClickHouse, you should probably be using Tinybird. If you're processing millions of events a day or you plan to be, you should really just get it right from the beginning.

Ben Hylak

Ben HylakCTO at Raindrop

With Tinybird, Raindrop has built a platform that can process hundreds of millions of events daily, providing AI companies with the monitoring and visibility they need to build better AI products. The infrastructure is now positioned to scale with Raindrop's rapid customer growth while maintaining the performance and reliability that their customers depend on.

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.