VOOZH about

URL: https://thenewstack.io/real-time-databases-who-is-using-them-and-why/

⇱ Real-Time Databases: Who Is Using Them, and Why?  - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2023-06-20 06:12:17
Real-Time Databases: Who Is Using Them, and Why? 
sponsor-tinybird,sponsored-post-contributed,
Data / Software Development

Real-Time Databases: Who Is Using Them, and Why? 

Real-time applications require a database that can support event-driven architectures with low latency, speed and scale to query large amounts of data.
Jun 20th, 2023 6:12am by Jim Moffitt
👁 Featued image for: Real-Time Databases: Who Is Using Them, and Why? 
Tinybird sponsored this post.

Almost every developer in need of a database will first turn to familiar favorites: Postgres, MySQL or MongoDB. These traditional databases are well-supported across a variety of programming languages, generally free or inexpensive to start and quite easy to implement and host thanks to decades of practical experience and community support.

But in today’s data-driven world, these databases won’t always work. The analytics pioneered by data science, data engineering and business intelligence are now being embedded into applications built by software developers, supporting real-time, user-facing features like in-product analytics, in-session personalization, anomaly detection and alerting, inventory management, sports betting optimization, usage-based pricing and more.

These so-called “real-time applications” require a new class of database, one better suited to support event-driven architectures, high-concurrency and low-latency connections, and the necessary speed and scale to handle sophisticated queries over large amounts of data.

That’s where real-time databases come in.

Tinybird is the modern real-time data platform for software developers and data teams. Cost-effectively unify your data, build scalable real-time data products, and empower your organization to build with data.
Learn More
The latest from Tinybird

What Is a Real-Time Database?

At a high level, real-time databases are designed to support the following characteristics:

  1. High-frequency writes
  2. A high number of concurrent reads
  3. Complex analytical queries that typically involve filtering, joining and aggregating data
  4. Sub-second response times on those queries

By solving for these four factors, real-time databases fit neatly into event-driven architectures that support the user-facing features of real-time applications.

To draw a technical distinction, real-time databases typically use distributed columnar storage that minimizes read times when filtering and aggregating columns. In contrast, traditional relational databases rely on row-oriented storage that’s optimized for single-row look-up.

The three most commonly used open source real-time databases are ClickHouse, Apache Pinot and Apache Druid. You can read more about these three databases, their use cases and how they compare to traditional relational databases here.

Who Uses Real-Time Databases?

ClickHouse, Pinot and Druid were built by large companies with lots of data to achieve real-time use cases and address the shortcomings of traditional databases.

ClickHouse

ClickHouse was built from scratch by Yandex to power Yandex.Metrica, its Google Analytics alternative. If you, like many, have experienced the frustration of slow Google Analytics queries that lack real-time data, you’ll understand what prompted Yandex to invest in building a new database.

ClickHouse has become more popular over the last few years. Cloudflare famously adopted it to power its user-facing analytics for HTTP traffic, and companies like eBay and Uber continue to use ClickHouse to power more and more real-time analytical workloads.

Similarly, companies like Vercel and the Hotels Network have scaled with ClickHouse using Tinybird as a real-time data platform to achieve use cases like real-time session personalization, in-product analytics, anomaly detection and alerting, and usage-based billing.

Apache Pinot

Like Yandex, LinkedIn developed its own real-time database to power user-facing features like Who Viewed My Profile, eventually donating it to the Apache Software Foundation. Uber uses Pinot for a variety of internal and external analytics features, ranging from the Uber Eats Restaurant Manager to internal exploratory analytics for business and engineering teams.

Apache Druid

It’s a similar story for Apache Druid. Netflix leverages Druid to analyze browsing and playback performance, while Airbnb integrates Druid to gain insight into customer experiences on its platform.

Why Do Real-Time Databases Matter?

At a small scale, row-oriented databases like Postgres or MySQL could work as a real-time database. Remember, the definition of “real-time” depends on your context. If you have few records with simple queries that don’t demand a high-concurrency of reads with sub-second response latency, then you’d be just fine using them. For more information on when Postgres could be used as a real-time database, read this.

But if you’ve tried to use something like Postgres for real-time applications, then you understand that it fails at scale. Postgres simply cannot return a query like `SELECT sum(sales_price) FROM sales_events` in under a second when `sales_events` has millions or billions of rows, regardless of its configuration, and caching provides little benefit when many new events are being generated every second.

Real-time databases like ClickHouse, on the other hand, can handle this problem, and quite easily.

Notably, real-time databases are the foundation for numerous real-time use cases across various industries, including customer care, fraud detection and prevention, monitoring and alerting systems, Internet of Things and sensor data management, social media and messaging applications, gaming, sports betting, location-based services and inventory management.

Should You Make the Switch to Real-Time Databases Now?

Large enterprises like Netflix, Uber, Cloudflare and LinkedIn have pioneered the use of real-time databases to offer a diverse range of previously unachievable features that are now integral to their platform performance and user experience.

But 99.9% of us don’t have the resources or expertise of Netflix or Uber to take the headlong plunge into real time, so the familiar comforts of Postgres, MySQL and MongoDB beckon.

That said, there has never been a better time to embrace real-time databases and the real-time applications they unlock. The costs have never been lower, the developer experience has never been easier, and real-time databases have never been more powerful.

So, while early adopters of real-time databases tend to be large enterprises far along on the data maturity scale, the next wave of real-time database users will be software developers or data engineers at small- to mid-sized companies.

It’s the classic tale we’ve seen play out many times in our industry: A sophisticated technology is made simpler over time by high-end users, and its access, costs and capabilities are democratized for everyone. It happened with Postgres, and it will happen with real-time databases.

How Do I Get Started with Real-Time Databases?

You may have considered real-time databases at some point but decided against them because of their cost and complexity. And added cost and complexity can make any engineer nervous.

To calm your nerves, you can move to real-time databases using a managed service. All the open source real-time databases listed above are available through managed services that let you leverage their power while abstracting some or most of their complexities.

However, even with these DBaaS (Database as a Service) providers, you must still understand how to scale each system to handle your workload and how to integrate with your source data feeds and applications.

Platforms like Tinybird, on the other hand, function as full-fledged development platforms on top of real-time databases. Tinybird, which is built on ClickHouse, transparently handles cluster operations such as scaling, load balancing and distributed storage through a serverless scale-up/down model. Additionally, Tinybird provides abstractions on top of the database like managed ETL (extract, transform, load) and streaming connectors, multiple development interfaces (UI, CLI and API), token management and a rapid API development framework.

Real-time data platforms not only simplify the complexity of the database but also make it much easier to integrate with existing technology and future architectures. As such, they serve an important role in the real-time database landscape by offering developers a low-friction pathway to adopting real-time mindsets and development patterns, unlocking new use cases faster and with less overhead.

Tinybird is the modern real-time data platform for software developers and data teams. Cost-effectively unify your data, build scalable real-time data products, and empower your organization to build with data.
Learn More
The latest from Tinybird
TRENDING STORIES
Jim Moffitt is a developer advocate at TInybird, a real-time data platform for data and engineering teams. Jim has over 15 years of experience.
Read more from Jim Moffitt
Tinybird sponsored this post.
SHARE THIS STORY
TRENDING STORIES
TNS owner Insight Partners is an investor in: Real, Pragma, ClickHouse.
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.