Softwr

Databases · head to head

Apache HBase vs AWS Lambda

Apache HBase logo

Apache HBase

Databases

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

From
Free
Free plan
Yes
AWS Lambda logo

AWS Lambda

Cloud

Run code without thinking about servers

From
Free
Free plan
Yes

The short version

  • AWS Lambda is a serverless compute service.
  • Both are free.
  • Only Apache HBase lists automatic sharding and failover; only AWS Lambda lists event-driven execution.
  • Where Apache HBase falls short: not relational, so there are no built-in SQL joins.
  • Where AWS Lambda falls short: provisioned concurrency, used to avoid cold starts, is charged separately at $0.0000041667 per GB-second whether or not the function runs.

How do Apache HBase and AWS Lambda differ?

Apache HBase and AWS Lambda differ on pricing model (Open-source against Usage-based), platforms (Web against Web, API) and category (Databases against Cloud). Only the attributes on which Apache HBase and AWS Lambda actually diverge.

Attributes where Apache HBase and AWS Lambda differ
AttributeApache HBaseAWS Lambda
Pricing modelOpen-sourceUsage-based
PlatformsWebWeb, API
CategoryDatabasesCloud

Identical on both: starting price (Free), free tier (Yes).

Not yet recorded: founded for Apache HBase.

Which features does each one have?

They share no listed features; 7 appear only for Apache HBase and 20 only for AWS Lambda. 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 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

Only in AWS Lambda

  • Function-as-a-Service
  • Event-driven execution
  • Auto-scaling
  • Pay-per-use
  • Multiple languages
  • Concurrency limits
  • Dead Letter Queues
  • Environment variables

What is each one used for?

Apache HBase is most often brought in for time-series and metrics storage; AWS Lambda for event-driven functions without managing servers. The jobs each tool is most often brought in to do.

Apache HBase

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

AWS Lambda

  • Event-driven functions without managing serversnot Apache HBase
  • API backends behind API Gatewaynot Apache HBase
  • Processing S3, DynamoDB, SQS and Kinesis eventsnot Apache HBase
  • Scheduled jobs without a always-on instancenot Apache HBase
  • Edge compute through Lambda@Edgenot Apache HBase

Where do Apache HBase and AWS Lambda fall short?

Apache HBase's most cited limit: not relational, so there are no built-in SQL joins. AWS Lambda's: ephemeral storage beyond the included 512 MB is metered. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

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

AWS Lambda

  • Billed on two axes at once, $0.20 per million requests plus $0.0000166667 per GB-second of duration, so memory settings change the bill as much as traffic does
  • Provisioned concurrency, used to avoid cold starts, is charged separately at $0.0000041667 per GB-second whether or not the function runs
  • Ephemeral storage beyond the included 512 MB is metered
  • Lambda@Edge costs $0.60 per million requests, three times the standard request rate
  • VPC use and cross-region data transfer carry EC2 charges on top

How much do Apache HBase and AWS Lambda cost?

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

Apache HBase

Free

No published plan breakdown. See the Apache HBase review.

AWS Lambda

Free
  • Free TierFree
    • 1M free requests/month
    • 400,000 GB-seconds/month
    • Always free

Which should you pick?

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.

Choose AWS Lambda if

  • You need function-as-a-service.
  • You want to start without paying.
  • You work on Web, API.
  • You also want event-driven execution.

Questions people ask

Is Apache HBase or AWS Lambda better?
It depends on the job. Apache HBase fits time-series and metrics storage; AWS Lambda fits event-driven functions without managing servers. Apache HBase starts at Free and AWS Lambda at Free.
Which is cheaper, Apache HBase or AWS Lambda?
Apache HBase starts at Free and AWS Lambda at Free.
Does Apache HBase or AWS Lambda run on more platforms?
Apache HBase runs on Web. AWS Lambda runs on Web, API.
Can I use Apache HBase for free?
Both have a free tier, so you can try either at no cost before committing.
What is Apache HBase best used for?
Apache HBase is most often used for time-series and metrics storage, iot telemetry, message and audit logs, genomics data. Of those, time-series and metrics storage and iot telemetry are not what AWS Lambda is typically brought in for.
What can Apache HBase do that AWS Lambda cannot?
Apache HBase covers Strictly consistent real-time reads and writes, Automatic sharding and failover, Runs on Hadoop and HDFS, Java client. AWS Lambda covers Function-as-a-Service, Event-driven execution, Auto-scaling, Pay-per-use.

Answered from the vendors’ own pages

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
AWS Lambda: Is there a free tier for AWS Lambda?

Yes. AWS Lambda offers a free tier including 1 million requests per month, 400,000 GB-seconds per month, and 100 GB monthly response streaming.

Source
Apache HBase: Does HBase need Hadoop?

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

Source
AWS Lambda: How is AWS Lambda charged?

Lambda charges $0.20 per million requests. Duration charges are $0.0000166667 per GB-second for x86 (up to 6 billion GB-seconds/month in US East Ohio with tiered pricing). Ephemeral storage over the included 512 MB costs $0.0000000309 per GB-second. Provisioned Concurrency costs $0.0000041667 per GB-second with a 5-minute minimum.

Source
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
AWS Lambda: What are Lambda Durable Functions pricing?

Lambda Durable Functions include operations at $8.00 per million (start execution, steps, waits). Data written costs $0.25 per GB. Data retention is $0.15 per GB-month with configurable 1-90 day retention (default 14 days).

Source
Share

Related pages

Other head to heads