Softwr

Databases · head to head

Apache Doris vs AWS WAF

Apache Doris logo

Apache Doris

Databases

MPP analytical database with a MySQL wire protocol and sub-second aggregation on wide tables

From
Free
Free plan
Yes
AWS WAF logo

AWS WAF

Databases

Managed web application firewall for CloudFront, load balancers and APIs on AWS

From
$5/month
Free plan
No

The short version

  • Apache Doris is free; AWS WAF starts at $5/mo.
  • Only Apache Doris lists MySQL wire protocol; only AWS WAF lists web ACLs and rules.
  • Where AWS WAF falls short: it only attaches to a fixed list of AWS resources, so applications hosted outside AWS or behind another CDN cannot use it.

How do Apache Doris and AWS WAF differ?

Apache Doris and AWS WAF differ on starting price (Free against $5/month), pricing model and free tier (Yes against No). Only the attributes on which Apache Doris and AWS WAF actually diverge.

Attributes where Apache Doris and AWS WAF differ
AttributeApache DorisAWS WAF
Starting priceFree$5/month
Pricing modelOpen source, no licence feePer web ACL, per rule and per million requests
Free tierYesNo
PlatformsLinux, Self-hostedWeb

Not yet recorded: category for AWS WAF.

Which features does each one have?

They share no listed features; 8 appear only for Apache Doris and 6 only for AWS WAF. 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 Doris

  • MySQL wire protocol
  • Aggregate and unique key models
  • Materialised views
  • Multi-catalogue federation
  • Routine load from Kafka
  • Compute storage separation
  • Inverted indexes
  • Workload groups

Only in AWS WAF

  • Web ACLs and rules
  • Managed rule groups
  • Bot Control
  • Fraud Control
  • Rate-based rules
  • Logging

What is each one used for?

AWS WAF is most often brought in for rate limiting login and API endpoints that sit behind CloudFront. The jobs each tool is most often brought in to do.

Apache Doris

  • A team whose MySQL read replica can no longer serve reporting queries and wants an OLAP engine its existing drivers already speaknot AWS WAF
  • A real-time dashboard backend needing sub-second aggregation over billions of rows with hundreds of concurrent usersnot AWS WAF
  • An ad or ecommerce platform that needs updates and deletes on analytical tables, which append-only OLAP engines handle badlynot AWS WAF
  • A data team that wants one SQL endpoint over both internal tables and existing Hive or Iceberg tables in the lakenot AWS WAF

AWS WAF

  • Blocking SQL injection, cross-site scripting and known bad inputs in front of an Application Load Balancernot Apache Doris
  • Rate limiting login and API endpoints that sit behind CloudFrontnot Apache Doris
  • Adding bot detection to a retail site already hosted on AWSnot Apache Doris
  • Applying one set of WAF rules across many accounts through AWS Firewall Managernot Apache Doris

Where do Apache Doris and AWS WAF fall short?

Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Apache Doris

  • Two competing commercial vendors, VeloDB and SelectDB, were founded by overlapping core contributors, which makes the long-term governance and roadmap of the project harder to predict than a single-sponsor project
  • A large share of design discussion, issue reports and documentation detail originates in Chinese, so teams that do not read it get a thinner picture of known problems and workarounds
  • Operating a cluster means managing frontend and backend node roles, tablet balancing and compaction tuning, and compaction backlogs under heavy upsert load are a recurring production complaint
  • The MySQL protocol compatibility is at the wire level, not full MySQL semantics, so queries and functions still need porting and the familiarity can mislead
  • Managed cloud availability outside China and major clouds is limited compared with ClickHouse or Snowflake, so many Western adopters end up self-hosting whether they wanted to or not

AWS WAF

  • It only attaches to a fixed list of AWS resources, so applications hosted outside AWS or behind another CDN cannot use it
  • Charges come from several meters at once (web ACL, rules, rule groups, requests, logging, and per-feature fees), so predicting a bill needs a worksheet rather than a single price
  • Account Takeover Prevention and Fraud Control start at $1,000 per million requests, so protecting a busy login endpoint can cost more than the web ACL itself
  • Managed rules ship in count-first workflows and generate false positives on unusual payloads, so someone has to review logs and tune exclusions
  • Request body inspection is capped by default, and inspecting beyond the limit or using more than the default capacity units carries extra per-request charges

How much do Apache Doris and AWS WAF cost?

Apache Doris is free to use; AWS WAF starts at $5/mo. Plan by plan below, from each vendor's own pricing page.

Apache Doris

Free
  • Apache DorisFree
    • Apache 2.0 licence with no usage restrictions
    • All engine features included
    • Community support via mailing list and Slack

AWS WAF

$5/month
  • Pay-as-you-go$5/mo
    • $5.00 per web ACL per month
    • $1.00 per rule and $1.00 per rule group per month
    • $0.60 per million requests
  • Bot Control$10/mo
    • $10.00 per web ACL per month subscription
    • Common: $1.00 per million requests, first 10 million free
    • Targeted: $10.00 per million requests, first million free
  • Account Takeover and Fraud Control$10/mo
    • $10.00 per web ACL per month per rule group
    • $1,000 per million requests for the first 2 million, falling to $50 per million at the highest tier

Which should you pick?

Choose Apache Doris if

  • You need mysql wire protocol.
  • You want to start without paying.
  • You work on Linux, Self-hosted.
  • You also want aggregate and unique key models.

Choose AWS WAF if

  • You need web acls and rules.
  • You also want managed rule groups.

Questions people ask

Is Apache Doris or AWS WAF better?
It depends on the job. Apache Doris fits a team whose MySQL read replica can no longer serve reporting queries and wants an OLAP engine its existing drivers already speak; AWS WAF fits blocking SQL injection, cross-site scripting and known bad inputs in front of an Application Load Balancer. Apache Doris starts at Free and AWS WAF at $5/month.
Which is cheaper, Apache Doris or AWS WAF?
Apache Doris has a free tier; the other does not. Paid plans start at Free for Apache Doris and $5/month for AWS WAF.
Does Apache Doris or AWS WAF run on more platforms?
Apache Doris runs on Linux, Self-hosted. AWS WAF runs on Web.
Can I use Apache Doris for free?
Yes. Apache Doris has a free tier, so you can try it without paying. AWS WAF starts at $5/month.
What is Apache Doris best used for?
Apache Doris is most often used for a team whose mysql read replica can no longer serve reporting queries and wants an olap engine its existing drivers already speak, a real-time dashboard backend needing sub-second aggregation over billions of rows with hundreds of concurrent users, an ad or ecommerce platform that needs updates and deletes on analytical tables, which append-only olap engines handle badly, a data team that wants one sql endpoint over both internal tables and existing hive or iceberg tables in the lake. Of those, a team whose mysql read replica can no longer serve reporting queries and wants an olap engine its existing drivers already speak and a real-time dashboard backend needing sub-second aggregation over billions of rows with hundreds of concurrent users are not what AWS WAF is typically brought in for.
What can Apache Doris do that AWS WAF cannot?
Apache Doris covers MySQL wire protocol, Aggregate and unique key models, Materialised views, Multi-catalogue federation. AWS WAF covers Web ACLs and rules, Managed rule groups, Bot Control, Fraud Control.

Answered from the vendors’ own pages

Apache Doris: Is Apache Doris really free?

Yes, it is Apache 2.0 with no usage restrictions. The commercial products are managed services from VeloDB and SelectDB.

AWS WAF: How much does AWS WAF cost per month?

On pay-as-you-go pricing it is $5.00 per web ACL and $1.00 per rule per month, plus $0.60 per million requests, per the AWS pricing page. Bot Control, fraud rules, CAPTCHA and logging are billed on top.

Apache Doris: Can I use my MySQL tools with it?

Yes, it implements the MySQL wire protocol, so clients and BI connectors attach without a new driver, though SQL semantics differ.

AWS WAF: Does AWS WAF work outside AWS?

No. It protects supported AWS resources such as CloudFront, Application Load Balancer and API Gateway. Origins elsewhere can be covered if they sit behind CloudFront.

Apache Doris: How does it compare with ClickHouse?

Doris handles updates and high concurrency more comfortably; ClickHouse is generally faster on raw single-query scan throughput and has far wider Western support.

AWS WAF: Is AWS WAF included with Shield Advanced?

Shield Advanced includes WAF usage for protected resources, up to 50 billion requests per month and 1,500 capacity units per web ACL, per the Shield pricing page.

Apache Doris: Who maintains it?

The Apache Software Foundation project, with most committers employed by VeloDB or SelectDB.

Share

Related pages

Other head to heads