Rockset Architecture vs StarRocks
Separation of compute and storage
No, but StarRocks supports nodes that don't store data locally
Isolation of ingest and query
Yes - separate compute clusters (Virtual Instances) for ingest and query
No, but you can limit resources for ingestion and querying separately
Isolation for multiple applications
Yes - separate compute cluster (Virtual Instance) for each application
Use of storage hierarchy
• SSDs store shared hot data, accessible from any Virtual Instance cluster
• Cloud storage for durability
Data is stored on disk and in memory
SaaS - infrastructure, software and cluster ops managed by service provider
PaaS or self managed
Rockset is built to be a cloud-only database and does not have a self-managed option. It disaggregates compute from both hot storage and cloud storage, allowing multiple isolated compute clusters to run on the same shared data.
StarRocks is a high-performance OLAP database that can be deployed on the cloud or self managed. StarRocks does not separate compute and storage and offers limited options for resource isolation. It offers a robust set of features and high performance but requires considerable expertise to operate and scale.
Rockset Ingestion vs StarRocks
Managed data connectors to:
• Events streams (e.g. Kafka, Kinesis)
• Database CDC (e.g. MongoDB, DynamoDB, MySQL, PostgreSQL)
• Data lakes (e.g. S3, Google Cloud Storage)
• HDFS compatible
• Cloud storage
Semi structured data
• Ingests JSON and XML without a predefined schema
• Ingests nested data
Supports columns with JSON data
• Does not support mixed-type columns
• Support for star and snowflake schemas
Transformations and rollups
Yes - using SQL ingest transformations
Yes, via materialized views
Rockset has built-in connectors that manage streaming ingestion from common data sources. It has native support for semi-structured data, so that nested JSON and XML can be ingested and queried as is.
StarRocks ingests data from a variety of sources, including both batch and streaming data. StarRocks can ingest nested JSON data, but enforces type at the column level.
See Rockset in action
Get a product tour with a Rockset engineer.
Rockset Queries vs StarRocks
SQL - with extensions for nested data
Multi-table join support
• Data APIs - saved SQL queries executed via REST endpoint
• Python, Java, Node.js and Go SDKs
Integrations with Tableau, Looker, Grafana, Superset, Power BI, Retoolwhic
Compatibility with MySQL protocols enables StarRocks to work with BI tools
Rockset supports SQL as its native query language and can perform SQL joins. Users can create data APIs by storing SQL queries in Rockset that are executed from dedicated REST endpoints. Rockset integrates with some common visualization tools, but BI is not Rockset’s primary use case.
StarRocks uses a high-performance vectorized SQL engine, a custom-built cost-based optimizer, and has support for materialized views.
Rockset Performance vs StarRocks
• Ingests on a per-record basis
• Data latency is typically 1-2 seconds
Data latency is typically 1-2 seconds
Documents are mutable and can be updated at the field level
While StarRocks is mutable, the update rate is slow, which is why it is most often used for append-only workloads
Converged Index, comprising a rowstore, columnstore and inverted index
• StarRocks is a columnstore that organizes data into prefix indexes, per-column data blocks, and per-column indexes
• All data is replicated 3 times to achieve both fault-tolerance and concurrency
• Converged Index (row, columnar and inverted index) built on all data by default
• All queries are resolved through the index
Columnar index, limited support for inverted indexes
50-1000ms queries on 100s of TB
50-1000ms queries on 100s of TB
Rockset is designed to make streaming data queryable as quickly as possible by avoiding the need to batch data. It also updates documents efficiently by only reindexing fields that are part of an update request. Rockset indexes all data by default, which results in storage amplification but also enables low-latency queries that require less compute.
StarRocks was purpose-built for high-performance ingest, low-latency queries, and high concurrency. Optimized performance requires significant manual tuning.
Rockset Scalability vs StarRocks
Resize compute clusters (Virtual Instances) via API or in the console
• Both frontend and backend nodes can be manually resized
• Add or remove compute clusters (Virtual Instances) via API or in the console
• Scale out compute clusters for higher concurrency
• Use separate compute clusters to isolate ingest from query or for multiple isolated applications
• No rebalancing required
• Both frontend and backend nodes can be manually scaled horizontally
Rockset Virtual Instances are distributed compute clusters that can be scaled up for faster queries or scaled out for practically unlimited concurrency or if compute isolation is needed. Rockset has shared storage that scales automatically and independently, so no rebalancing is required.
StarRocks can scale up or out, but its tightly coupled compute and storage scale together for performance. This often results in resource contention and overprovisioning. Scaling StarRocks often requires deep expertise as there are many levels of the system that need to be managed.