Softwr

Databases · head to head

Amazon SQS vs Apache HBase

Amazon SQS logo

Amazon SQS

Databases

Fully managed message queues that decouple services, priced per request

From
On request
Free plan
No
Apache HBase logo

Apache HBase

Databases

Open source distributed wide-column store modelled on Bigtable, running on Hadoop

From
Free
Free plan
Yes

The short version

  • Amazon SQS is a managed message queue.
  • Apache HBase is free; Amazon SQS prices on request.
  • Only Amazon SQS lists standard queues; only Apache HBase lists automatic sharding and failover.
  • Where Amazon SQS falls short: messages are deleted once consumed, so you cannot replay history the way you can with a log such as Kinesis or Kafka.
  • Where Apache HBase falls short: not relational, so there are no built-in SQL joins.

How do Amazon SQS and Apache HBase differ?

Amazon SQS and Apache HBase differ on starting price (On request against Free), pricing model and free tier (No against Yes). Only the attributes on which Amazon SQS and Apache HBase actually diverge.

Attributes where Amazon SQS and Apache HBase differ
AttributeAmazon SQSApache HBase
Starting priceOn requestFree
Pricing modelPer million requestsOpen-source
Free tierNoYes
PlatformsWeb, LinuxWeb

Not yet recorded: category for Amazon SQS.

Which features does each one have?

They share no listed features; 6 appear only for Amazon SQS and 7 only for Apache HBase. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Amazon SQS

  • Standard queues
  • FIFO queues
  • Dead-letter queues
  • Fair queues
  • Long polling
  • Server-side encryption

Only in Apache HBase

  • Strictly consistent real-time reads and writes
  • Automatic sharding and failover
  • Runs on Hadoop and HDFS
  • Java client
  • REST and Thrift gateways
  • Server-side filters
  • Bloom filters

What is each one used for?

Amazon SQS is most often brought in for buffering bursts of work so a slower downstream service is not overwhelmed; Apache HBase for time-series and metrics storage. The jobs each tool is most often brought in to do.

Amazon SQS

  • Buffering bursts of work so a slower downstream service is not overwhelmednot Apache HBase
  • Triggering Lambda functions from a queue with automatic retries and a dead-letter queuenot Apache HBase
  • Ordered processing of per-customer events using FIFO message groupsnot Apache HBase
  • Splitting a monolith into services that talk through durable messagesnot Apache HBase

Apache HBase

  • Time-series and metrics storagenot Amazon SQS
  • IoT telemetrynot Amazon SQS
  • Message and audit logsnot Amazon SQS
  • Genomics datanot Amazon SQS
  • Ad tech personalisationnot Amazon SQS

Where do Amazon SQS and Apache HBase fall short?

Amazon SQS's most cited limit: messages are deleted once consumed, so you cannot replay history the way you can with a log such as Kinesis or Kafka. Apache HBase's: not relational, so there are no built-in SQL joins. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Amazon SQS

  • Messages are deleted once consumed, so you cannot replay history the way you can with a log such as Kinesis or Kafka
  • Every API call is billed, including empty polls and deletes, so a badly configured short-polling consumer can cost more than the messages it handles
  • A single queue has one consumer group; delivering the same message to several systems requires an SNS topic fanning out to several queues
  • The maximum message size is small compared with data pipelines, so larger payloads must be stored in S3 and referenced
  • FIFO queues carry a higher rate and throughput limits that Standard queues do not have, which complicates scaling ordered workloads

Apache HBase

  • Not relational, so there are no built-in SQL joins
  • Depends on Hadoop and HDFS, adding operational work
  • Self-hosted; cluster setup is covered only in the reference guide
  • Several release lines are documented in parallel

How much do Amazon SQS and Apache HBase cost?

Apache HBase is free to use. Plan by plan below, from each vendor's own pricing page.

Amazon SQS

On request
  • Standard queueOn request
    • First 1 million requests per month free
    • $0.40 per million requests in the first volume tier
    • Lower rates at very high volumes
  • FIFO queueOn request
    • $0.50 per million requests in the first volume tier
    • Ordering and deduplication by message group
  • Fair queue add-onOn request
    • $0.10 per million fair queue requests, charged on top of Standard rates

Apache HBase

Free

No published plan breakdown. See the Apache HBase review.

Which should you pick?

Choose Amazon SQS if

  • You need standard queues.
  • You work on Web, Linux.
  • You also want fifo queues.

Choose Apache HBase if

  • You need strictly consistent real-time reads and writes.
  • You want to start without paying.
  • You also want automatic sharding and failover.

Questions people ask

Is Amazon SQS or Apache HBase better?
It depends on the job. Amazon SQS fits buffering bursts of work so a slower downstream service is not overwhelmed; Apache HBase fits time-series and metrics storage. Amazon SQS starts at On request and Apache HBase at Free.
Which is cheaper, Amazon SQS or Apache HBase?
Apache HBase has a free tier; the other does not. Paid plans start at On request for Amazon SQS and Free for Apache HBase.
Does Amazon SQS or Apache HBase run on more platforms?
Amazon SQS runs on Web, Linux. Apache HBase runs on Web.
Can I use Apache HBase for free?
Yes. Apache HBase has a free tier, so you can try it without paying. Amazon SQS starts at On request.
What is Amazon SQS best used for?
Amazon SQS is most often used for buffering bursts of work so a slower downstream service is not overwhelmed, triggering lambda functions from a queue with automatic retries and a dead-letter queue, ordered processing of per-customer events using fifo message groups, splitting a monolith into services that talk through durable messages. Of those, buffering bursts of work so a slower downstream service is not overwhelmed and triggering lambda functions from a queue with automatic retries and a dead-letter queue are not what Apache HBase is typically brought in for.
What can Amazon SQS do that Apache HBase cannot?
Amazon SQS covers Standard queues, FIFO queues, Dead-letter queues, Fair queues. Apache HBase covers Strictly consistent real-time reads and writes, Automatic sharding and failover, Runs on Hadoop and HDFS, Java client.

Answered from the vendors’ own pages

Amazon SQS: Is SQS free?

The first 1 million requests each month are free across regions, per AWS. Beyond that you pay per million requests.

Apache HBase: What is HBase modelled on?

The site describes it as an open-source distributed big data store modelled after Google Bigtable. It provides random, real-time read and write access to very large datasets.

Source
Amazon SQS: What is the difference between SQS and SNS?

SQS stores messages for a consumer to pull; SNS pushes one message to many subscribers. They are commonly combined.

Apache HBase: Does HBase need Hadoop?

It runs on Hadoop and HDFS, per the site. Cluster setup is covered in the Reference Guide.

Source
Amazon SQS: Does SQS guarantee order?

Only FIFO queues do, within a message group. Standard queues deliver at least once and may reorder.

Apache HBase: What clients does it support?

The site lists a Java client plus REST and Thrift gateways. Server-side filters and Bloom filters are also described.

Source
Share

Related pages

Other head to heads