Need advice about which tool to choose?Ask the StackShare community!

HBase

453
492
+ 1
15
ScyllaDB

131
182
+ 1
8
Add tool

HBase vs Scylla: What are the differences?

Introduction

HBase and Scylla are both distributed, highly scalable NoSQL databases designed for handling big data workloads. While they share some similarities, there are key differences that distinguish them from each other.

  1. Data Model and Query Language: One significant difference between HBase and Scylla is their data model and query language. HBase follows a columnar data model with a hierarchical structure similar to Google's Bigtable, while Scylla is based on Cassandra's row-oriented data model. HBase uses the Hadoop ecosystem's query language HQL (HBase Query Language), whereas Scylla uses CQL (Cassandra Query Language). This disparity in data models and query languages affects how developers interact with and manipulate the data in each database.

  2. Consistency and Availability: Another important distinction lies in their consistency and availability models. HBase prioritizes strong consistency, ensuring that read and write operations return the most up-to-date data and guaranteeing data integrity at the expense of potential latency and throughput reductions during periods of high load or failure. On the other hand, Scylla employs eventual consistency by default, which allows for higher availability and performance but introduces the possibility of stale reads and inconsistent data.

  3. Storage Model: HBase and Scylla differ in their storage models as well. HBase utilizes Hadoop's HDFS (Hadoop Distributed File System) for storing data, while Scylla employs its own storage engine, Seastar. The use of different storage systems can impact factors such as data durability, fault tolerance, and performance capabilities.

  4. Scalability: Both HBase and Scylla are designed for scalability, but they employ different scaling mechanisms. HBase relies on the horizontal scaling approach provided by Hadoop's HDFS and HBase RegionServers, distributing data across multiple nodes. Scylla, on the other hand, leverages Cassandra's peer-to-peer architecture, allowing it to horizontally scale by adding more nodes to the cluster. Each database's scalability mechanisms come with their own set of advantages and considerations, depending on the specific use case and workload requirements.

  5. Community Support and Maturity: HBase has been in development and widely deployed for a longer time compared to Scylla, giving it a more mature and established community. It has a larger user base, more extensive documentation, and a wider range of community-driven extensions and tools. However, Scylla benefits from the active Cassandra community and inherits its ecosystem, which includes a variety of plugins, connectors, and libraries.

  6. Data Compression: HBase and Scylla employ different data compression techniques. HBase supports multiple compression algorithms such as Snappy, Gzip, and LZO, allowing users to choose the most suitable compression method based on their specific requirements. On the other hand, Scylla utilizes LZ4 compression, delivering higher compression and decompression speeds compared to other algorithms. The choice of compression technique can influence storage utilization, read and write performance, and CPU usage.

In summary, HBase and Scylla differ in their data models and query languages, consistency and availability models, storage models, scaling mechanisms, community support and maturity, and data compression techniques. These differences play a crucial role in determining which database is the best fit for a particular use case and workload requirements.

Advice on HBase and ScyllaDB
Vinay Mehta
Needs advice
on
CassandraCassandra
and
ScyllaDBScyllaDB

The problem I have is - we need to process & change(update/insert) 55M Data every 2 min and this updated data to be available for Rest API for Filtering / Selection. Response time for Rest API should be less than 1 sec.

The most important factors for me are processing and storing time of 2 min. There need to be 2 views of Data One is for Selection & 2. Changed data.

See more
Replies (4)
Recommends
on
ScyllaDBScyllaDB

Scylla can handle 1M/s events with a simple data model quite easily. The api to query is CQL, we have REST api but that's for control/monitoring

See more
Alex Peake
Recommends
on
CassandraCassandra

Cassandra is quite capable of the task, in a highly available way, given appropriate scaling of the system. Remember that updates are only inserts, and that efficient retrieval is only by key (which can be a complex key). Talking of keys, make sure that the keys are well distributed.

See more
Recommends
on
ScyllaDBScyllaDB

By 55M do you mean 55 million entity changes per 2 minutes? It is relatively high, means almost 460k per second. If I had to choose between Scylla or Cassandra, I would opt for Scylla as it is promising better performance for simple operations. However, maybe it would be worth to consider yet another alternative technology. Take into consideration required consistency, reliability and high availability and you may realize that there are more suitable once. Rest API should not be the main driver, because you can always develop the API yourself, if not supported by given technology.

See more
Pankaj Soni
Chief Technical Officer at Software Joint · | 2 upvotes · 148K views
Recommends
on
CassandraCassandra

i love syclla for pet projects however it's license which is based on server model is an issue. thus i recommend cassandra

See more
Decisions about HBase and ScyllaDB
Tom Klein

The Gentlent Tech Team made lots of updates within the past year. The biggest one being our database:

We decided to migrate our #PostgreSQL -based database systems to a custom implementation of #Cassandra . This allows us to integrate our product data perfectly in a system that just makes sense. High availability and scalability are supported out of the box.

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of HBase
Pros of ScyllaDB
  • 9
    Performance
  • 5
    OLTP
  • 1
    Fast Point Queries
  • 2
    Replication
  • 1
    Fewer nodes
  • 1
    Distributed
  • 1
    Scale up
  • 1
    High availability
  • 1
    Written in C++
  • 1
    High performance

Sign up to add or upvote prosMake informed product decisions

- No public GitHub repository available -

What is HBase?

Apache HBase is an open-source, distributed, versioned, column-oriented store modeled after Google' Bigtable: A Distributed Storage System for Structured Data by Chang et al. Just as Bigtable leverages the distributed data storage provided by the Google File System, HBase provides Bigtable-like capabilities on top of Apache Hadoop.

What is ScyllaDB?

ScyllaDB is the database for data-intensive apps that require high performance and low latency. It enables teams to harness the ever-increasing computing power of modern infrastructures – eliminating barriers to scale as data grows.

Need advice about which tool to choose?Ask the StackShare community!

What companies use HBase?
What companies use ScyllaDB?
See which teams inside your own company are using HBase or ScyllaDB.
Sign up for StackShare EnterpriseLearn More

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with HBase?
What tools integrate with ScyllaDB?

Sign up to get full access to all the tool integrationsMake informed product decisions

Blog Posts

Jun 24 2020 at 4:42PM

Pinterest

Amazon S3KafkaHBase+4
4
1210
MySQLKafkaApache Spark+6
2
2003
What are some alternatives to HBase and ScyllaDB?
Cassandra
Partitioning means that Cassandra can distribute your data across multiple machines in an application-transparent matter. Cassandra will automatically repartition as machines are added and removed from the cluster. Row store means that like relational databases, Cassandra organizes data by rows and columns. The Cassandra Query Language (CQL) is a close relative of SQL.
Google Cloud Bigtable
Google Cloud Bigtable offers you a fast, fully managed, massively scalable NoSQL database service that's ideal for web, mobile, and Internet of Things applications requiring terabytes to petabytes of data. Unlike comparable market offerings, Cloud Bigtable doesn't require you to sacrifice speed, scale, or cost efficiency when your applications grow. Cloud Bigtable has been battle-tested at Google for more than 10 years—it's the database driving major applications such as Google Analytics and Gmail.
MongoDB
MongoDB stores data in JSON-like documents that can vary in structure, offering a dynamic, flexible schema. MongoDB was also designed for high availability and scalability, with built-in replication and auto-sharding.
Hadoop
The Apache Hadoop software library is a framework that allows for the distributed processing of large data sets across clusters of computers using simple programming models. It is designed to scale up from single servers to thousands of machines, each offering local computation and storage.
Druid
Druid is a distributed, column-oriented, real-time analytics data store that is commonly used to power exploratory dashboards in multi-tenant environments. Druid excels as a data warehousing solution for fast aggregate queries on petabyte sized data sets. Druid supports a variety of flexible filters, exact calculations, approximate algorithms, and other useful calculations.
See all alternatives