Choosing the right database is a critical choice when building any software application. All databases have different strengths and weaknesses when it comes to performance, so deciding which database has the most benefits and the most minor downsides for your specific use case and data model is an important decision. Below you will find an overview of the key concepts, architecture, features, use cases, and pricing models of Rockset and OpenTSDB so you can quickly see how they compare against each other.

The primary purpose of this article is to compare how Rockset and OpenTSDB perform for workloads involving time series data, not for all possible use cases. Time series data typically presents a unique challenge in terms of database performance. This is due to the high volume of data being written and the query patterns to access that data. This article doesn’t intend to make the case for which database is better; it simply provides an overview of each database so you can make an informed decision.

Rockset vs OpenTSDB Breakdown


 
Database Model

Real time database

Time series database

Architecture

Rockset is a real-time analytics database built for modern cloud applications, designed to enable developers to create real-time, event-driven applications and run complex queries on structured, semi-structured, and unstructured data with low-latency. Rockset uses a cloud-native, distributed architecture that separates storage and compute, allowing for horizontal scalability and efficient resource utilization. Data is automatically indexed and served by a distributed, auto-scaled set of query processing nodes.

OpenTSDB can be deployed on-premises or in the cloud, with HBase running on a distributed cluster of nodes.

License

Closed source

GNU LGPLv2.1

Use Cases

Real-time analytics, event-driven applications, search and aggregations, personalized user experiences, IoT data analysis

Monitoring, observability, IoT, log data storage

Scalability

Horizontally scalable with distributed storage and compute

Horizontally scalable across multiple nodes using HBase as its storage backend

Rockset Overview

Rockset is a real-time indexing database designed for fast, efficient querying of structured and semi-structured data. Founded in 2016 by former Facebook engineers, Rockset aims to provide a serverless search and analytics solution that enables users to build powerful applications and data-driven products without the complexities of traditional database management.

OpenTSDB Overview

OpenTSDB (Open Time Series Database) is an open-source, distributed, and scalable time series database built on top of Apache HBase, a NoSQL database. OpenTSDB was designed to address the growing need for storing and processing large volumes of time series data generated by various sources, such as IoT devices, sensors, and monitoring systems. It was initially developed by StumbleUpon in 2010 and later became an independent project with an active community of contributors.


Rockset for Time Series Data

Rockset’s real-time indexing and low-latency querying capabilities make it an excellent choice for time series data analysis. Its schemaless ingestion and support for complex data types enable effortless handling of time series data, while its Converged Index ensures efficient querying of both historical and real-time data. Rockset is particularly suitable for applications that demand real-time analytics, such as IoT monitoring and anomaly detection.

OpenTSDB for Time Series Data

OpenTSDB is designed for time series data storage and analysis, making it an ideal choice for managing large scale time series datasets. Its architecture enables high write and query performance, and it can handle millions of data points per second with minimal resource consumption. OpenTSDB’s flexible querying capabilities allow users to perform complex analysis on time series data efficiently.


Rockset Key Concepts

  • Converged Index: Rockset uses a unique indexing approach that combines both an inverted index and a columnar index, allowing the database to optimize for both search and analytics use cases.
  • Schemaless Ingestion: Rockset automatically infers schema on ingestion, making it easy to work with semi-structured data formats like JSON.
  • Virtual Instances: Rockset uses the concept of virtual instances to provide isolation and resource allocation to different workloads, ensuring predictable performance.

OpenTSDB Key Concepts

  • Data Point: A single measurement in time consisting of a timestamp, metric, value, and associated tags.
  • Metric: A named value that represents a specific aspect of a system, such as CPU usage or temperature.
  • Tags: Key-value pairs associated with data points that provide metadata and help categorize and query the data.


Rockset Architecture

Rockset uses a cloud-native, serverless architecture that is built on top of a distributed, shared-nothing system. It is a NoSQL database, which allows for greater flexibility and scalability compared to traditional relational databases. The core components of Rockset’s architecture include the Ingestion Service, Storage Service, and Query Service. The Ingestion Service is responsible for ingesting data from various sources, while the Storage Service maintains the Converged Index. The Query Service processes queries and provides APIs for developers to interact with the database.

OpenTSDB Architecture

OpenTSDB is built on top of Apache HBase, a distributed and scalable NoSQL database, and relies on its architecture for data storage and management. OpenTSDB stores time series data in HBase tables, with data points organized by metric, timestamp, and tags. The database uses a schema-less data model, which allows for flexibility when adding new metrics and tags. The OpenTSDB architecture also supports horizontal scaling by distributing data across multiple HBase nodes.

Free Time-Series Database Guide

Get a comprehensive review of alternatives and critical requirements for selecting yours.

Rockset Features

Serverless Scaling

Rockset automatically scales resources based on the workload, which means users don’t need to manage any infrastructure or capacity planning. ### Full-Text Search Rockset’s Converged Index supports full-text search, making it an ideal choice for applications that require advanced search capabilities. ### Integration with BI tools Rockset provides native integrations with popular business intelligence (BI) tools like Tableau, Looker, and Redash, allowing users to visualize and analyze their data without any additional setup.

OpenTSDB Features

Scalability

OpenTSDB’s distributed architecture allows for horizontal scaling, ensuring that the database can handle growing volumes of time series data.

Data Compression

OpenTSDB uses various compression techniques to reduce the storage footprint of time series data.

Query Language with time series support

OpenTSDB features a flexible query language that supports aggregation, downsampling, filtering, and other operations for analyzing time series data.


Rockset Use Cases

Real-Time Analytics

Rockset’s low-latency querying and real-time ingestion capabilities make it ideal for building real-time analytics dashboards for applications like IoT monitoring, social media analysis, and log analytics.

With its Converged Index and support for advanced search features, Rockset is an excellent choice for building full-text search applications, such as product catalogs or document search systems.

Machine Learning

Rockset’s ability to ingest and query large-scale, semi-structured data in real-time makes it a suitable choice for machine learning applications.

OpenTSDB Use Cases

Monitoring and Alerting

OpenTSDB is well-suited for large-scale monitoring and alerting systems that generate vast amounts of time series data from various sources.

IoT Data Storage

OpenTSDB can store and analyze time series data generated by IoT devices, such as sensors and smart appliances, enabling real-time insights and analytics.

Performance Analysis

OpenTSDB’s flexible querying capabilities make it an ideal choice for analyzing system and application performance metrics over time.


Rockset Pricing Model

Rockset offers a usage-based pricing model that charges customers for the amount of data ingested, the number of virtual instances, and the volume of queries executed. The pricing model is designed to be transparent and flexible, allowing users to only pay for the resources they consume. Rockset also provides a free tier with limited resources for developers to explore the platform. Users can choose between on-demand and reserved instances, depending on their needs.

OpenTSDB Pricing Model

OpenTSDB is open-source software, which means it is free to use without any licensing fees. However, the cost of running OpenTSDB depends on the infrastructure required to support the underlying HBase database, such as cloud services or on-premises hardware.

Get started with InfluxDB for free

InfluxDB Cloud is the fastest way to start storing and analyzing your time series data.