Softwr

Databases · head to head

Amazon DocumentDB vs Eclipse Mosquitto

Amazon DocumentDB logo

Amazon DocumentDB

Databases

Managed MongoDB-compatible document database service on AWS

From
On request
Free plan
No
Eclipse Mosquitto logo

Eclipse Mosquitto

Networking

Small, EPL-licensed MQTT broker that runs on hardware other brokers cannot

From
Free
Free plan
Yes

The short version

  • Amazon DocumentDB is a managed document database on AWS.
  • Eclipse Mosquitto is free; Amazon DocumentDB prices on request.
  • Only Amazon DocumentDB lists MongoDB driver and tool compatibility; only Eclipse Mosquitto lists MQTT 5.0 support.
  • Where Amazon DocumentDB falls short: runs only on AWS; it cannot run on premises or across cloud providers.

How do Amazon DocumentDB and Eclipse Mosquitto differ?

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

Attributes where Amazon DocumentDB and Eclipse Mosquitto differ
AttributeAmazon DocumentDBEclipse Mosquitto
Starting priceOn requestFree
Pricing modelUsage-basedOpen source, no licence fee
Free tierNoYes
PlatformsWebLinux, Windows, macOS, Self-hosted
CategoryDatabasesNetworking

Which features does each one have?

They share no listed features; 8 appear only for Amazon DocumentDB and 6 only for Eclipse Mosquitto. 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 DocumentDB

  • MongoDB driver and tool compatibility
  • Managed patching, backups and monitoring
  • Serverless capacity scaling
  • Elastic clusters
  • Global clusters across up to 10 AWS Regions
  • I/O-Optimized pricing configuration
  • CloudWatch, IAM and AWS Backup integration
  • Zero ETL to Amazon OpenSearch Service

Only in Eclipse Mosquitto

  • MQTT 5.0 support
  • Very small footprint
  • Bridging
  • WebSockets listener
  • Command line clients
  • Dynamic security plugin

What is each one used for?

Amazon DocumentDB is most often brought in for migrating MongoDB workloads to AWS. The jobs each tool is most often brought in to do.

Amazon DocumentDB

  • Migrating MongoDB workloads to AWSnot Eclipse Mosquitto
  • Content and catalogue document storesnot Eclipse Mosquitto
  • Serverless document databases for variable loadnot Eclipse Mosquitto
  • Multi region read replicas for disaster recoverynot Eclipse Mosquitto

Eclipse Mosquitto

  • A home or building automation stack where the broker must run on the same small computer as everything elsenot Amazon DocumentDB
  • An industrial gateway that buffers local telemetry and bridges selected topics to a cloud brokernot Amazon DocumentDB
  • Local development and testing of MQTT clients without provisioning a cloud IoT servicenot Amazon DocumentDB
  • An air-gapped deployment where a broker with no licence server and no phone-home behaviour is a requirementnot Amazon DocumentDB

Where do Amazon DocumentDB and Eclipse Mosquitto fall short?

Amazon DocumentDB's most cited limit: runs only on AWS; it cannot run on premises or across cloud providers. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Amazon DocumentDB

  • Runs only on AWS; it cannot run on premises or across cloud providers
  • Compatible with MongoDB rather than identical, with no time series collection support
  • Cost combines instance, storage, I/O and backup charges, which are harder to forecast
  • Free tier allowance lasts 30 days for new accounts and is excluded in some regions

Eclipse Mosquitto

  • There is no clustering: Mosquitto is a single process, so high availability means building your own failover and accepting session loss on switchover
  • Persistence is a local file rather than a replicated store, so a disk failure or an unclean shutdown can lose retained messages and queued QoS traffic
  • Practical capacity is a few thousand concurrent clients on typical hardware, so a growing device fleet eventually forces a migration to a clustered broker
  • The Eclipse Public Licence is weak copyleft rather than permissive, which some legal teams treat as a blocker when embedding the broker in a shipped commercial product
  • There is no commercial support to buy from the project, so production incidents rely on community mailing lists or on paying a third party who happens to know the codebase

How much do Amazon DocumentDB and Eclipse Mosquitto cost?

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

Amazon DocumentDB

On request

No published plan breakdown. See the Amazon DocumentDB review.

Eclipse Mosquitto

Free
  • Eclipse MosquittoFree
    • Eclipse Public License 2.0 with Eclipse Distribution Licence
    • MQTT 5.0, 3.1.1 and 3.1
    • No client or message limits beyond your hardware

Which should you pick?

Choose Amazon DocumentDB if

  • You need mongodb driver and tool compatibility.
  • You also want managed patching, backups and monitoring.

Choose Eclipse Mosquitto if

  • You need mqtt 5.0 support.
  • You want to start without paying.
  • You work on Linux, Windows, macOS, Self-hosted.
  • You also want very small footprint.

Questions people ask

Is Amazon DocumentDB or Eclipse Mosquitto better?
It depends on the job. Amazon DocumentDB fits migrating MongoDB workloads to AWS; Eclipse Mosquitto fits a home or building automation stack where the broker must run on the same small computer as everything else. Amazon DocumentDB starts at On request and Eclipse Mosquitto at Free.
Which is cheaper, Amazon DocumentDB or Eclipse Mosquitto?
Eclipse Mosquitto has a free tier; the other does not. Paid plans start at On request for Amazon DocumentDB and Free for Eclipse Mosquitto.
Does Amazon DocumentDB or Eclipse Mosquitto run on more platforms?
Amazon DocumentDB runs on Web. Eclipse Mosquitto runs on Linux, Windows, macOS, Self-hosted.
Can I use Eclipse Mosquitto for free?
Yes. Eclipse Mosquitto has a free tier, so you can try it without paying. Amazon DocumentDB starts at On request.
What is Amazon DocumentDB best used for?
Amazon DocumentDB is most often used for migrating mongodb workloads to aws, content and catalogue document stores, serverless document databases for variable load, multi region read replicas for disaster recovery. Of those, migrating mongodb workloads to aws and content and catalogue document stores are not what Eclipse Mosquitto is typically brought in for.
What can Amazon DocumentDB do that Eclipse Mosquitto cannot?
Amazon DocumentDB covers MongoDB driver and tool compatibility, Managed patching, backups and monitoring, Serverless capacity scaling, Elastic clusters. Eclipse Mosquitto covers MQTT 5.0 support, Very small footprint, Bridging, WebSockets listener.

Answered from the vendors’ own pages

Amazon DocumentDB: Is DocumentDB the same as MongoDB?

No. It is MongoDB compatible: existing MongoDB drivers and tools work, but Wikipedia notes it supports MongoDB 3.6 and 4.0 with later partial 5.0 compliance and no time series collections.

Source
Eclipse Mosquitto: Can Mosquitto be clustered?

No. It is a single process. High availability requires an external failover arrangement you build yourself.

Amazon DocumentDB: How is DocumentDB priced?

Pay as you go. Provisioned clusters are billed for instances per second, I/O, storage and backup storage, while serverless uses DocumentDB Capacity Units billed per second.

Source
Eclipse Mosquitto: What licence is it?

Eclipse Public License 2.0 alongside the Eclipse Distribution License, a weak copyleft rather than a permissive licence.

Amazon DocumentDB: Is there a free tier?

New AWS accounts get one month: 750 hours a month of db.t3.medium, 30 million I/Os, 5 GB storage and 5 GB backup. It is not available in AWS GovCloud (US) or China (Ningxia).

Source
Eclipse Mosquitto: How many clients can it handle?

A few thousand concurrent connections on ordinary hardware; beyond that, use a clustered broker.

Amazon DocumentDB: Can it run outside AWS?

No. Wikipedia says it runs only on AWS and cannot span cloud providers or run on premises.

Source
Eclipse Mosquitto: Does it support MQTT 5?

Yes, along with 3.1.1 and 3.1.

Share

Related pages

Other head to heads