Softwr

Cloud · head to head

Heroku vs Eclipse Mosquitto

Heroku logo

Heroku

Cloud

Cloud Application Platform

From
$5/month
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

  • Heroku is a cloud platform as a service.
  • Eclipse Mosquitto is free; Heroku starts at $5/mo.
  • Only Heroku lists git-based deployment; only Eclipse Mosquitto lists very small footprint.
  • Where Heroku falls short: there is no free dyno tier; the cheapest Eco dyno is $5 per month.

How do Heroku and Eclipse Mosquitto differ?

Heroku and Eclipse Mosquitto differ on starting price ($5/month against Free), pricing model and free tier (No against Yes). Only the attributes on which Heroku and Eclipse Mosquitto actually diverge.

Attributes where Heroku and Eclipse Mosquitto differ
AttributeHerokuEclipse Mosquitto
Starting price$5/monthFree
Pricing modelSubscriptionOpen source, no licence fee
Free tierNoYes
PlatformsWeb, API, WorkersLinux, Windows, macOS, Self-hosted
CategoryCloudNetworking

Not yet recorded: founded for Eclipse Mosquitto.

Which features does each one have?

They share no listed features; 20 appear only for Heroku 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 Heroku

  • Git-based deployment
  • Buildpacks
  • Dynos (containers)
  • Add-ons marketplace
  • Postgres database
  • Environment variables
  • Logging
  • API

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?

Heroku is most often brought in for application hosting. The jobs each tool is most often brought in to do.

Heroku

  • Application hostingnot Eclipse Mosquitto
  • Database as a servicenot Eclipse Mosquitto
  • CI/CD pipelinesnot Eclipse Mosquitto
  • API deploymentnot Eclipse Mosquitto

Eclipse Mosquitto

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

Where do Heroku and Eclipse Mosquitto fall short?

Heroku's most cited limit: there is no free dyno tier; the cheapest Eco dyno is $5 per month. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Heroku

  • There is no free dyno tier; the cheapest Eco dyno is $5 per month
  • Eco dynos sleep after 30 minutes of inactivity, are restricted to personal accounts and allow only 2 process types
  • Free SSL and 10 process types start at the Basic dyno at $7 per month
  • Private and Shield dyno types require a Private Space, which is billed on top of the dynos
  • Private Space dynos start at $250 per month for Private-M and $500 per month for Private-L
  • Dyno prices are per dyno per month, so an app with several process types multiplies the bill

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 Heroku and Eclipse Mosquitto cost?

Heroku starts at $5/mo; Eclipse Mosquitto is free to use. Plan by plan below, from each vendor's own pricing page.

Heroku

$5/month
  • Eco Dyno$5/mo
    • 0.5 GB RAM
    • Git/Docker deploy
    • Custom domains
  • Basic Dyno$7/mo
    • 0.5 GB RAM
    • Always-on
    • Free SSL
  • Standard-1X Dyno$25/mo
    • 0.5 GB RAM
    • Horizontal scaling
    • App metrics
  • Standard-2X Dyno$50/mo
    • 1 GB RAM
    • Horizontal scaling
    • App metrics

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 Heroku if

  • You need git-based deployment.
  • You work on Web, API, Workers.
  • You also want buildpacks.

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 Heroku or Eclipse Mosquitto better?
It depends on the job. Heroku fits application hosting; Eclipse Mosquitto fits a home or building automation stack where the broker must run on the same small computer as everything else. Heroku starts at $5/month and Eclipse Mosquitto at Free.
Which is cheaper, Heroku or Eclipse Mosquitto?
Eclipse Mosquitto has a free tier; the other does not. Paid plans start at $5/month for Heroku and Free for Eclipse Mosquitto.
Does Heroku or Eclipse Mosquitto run on more platforms?
Heroku runs on Web, API, Workers. 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. Heroku starts at $5/month.
What is Heroku best used for?
Heroku is most often used for application hosting, database as a service, ci/cd pipelines, api deployment. Of those, application hosting and database as a service are not what Eclipse Mosquitto is typically brought in for.
What can Heroku do that Eclipse Mosquitto cannot?
Heroku covers Git-based deployment, Buildpacks, Dynos (containers), Add-ons marketplace. Eclipse Mosquitto covers MQTT 5.0 support, Very small footprint, Bridging, WebSockets listener.

Answered from the vendors’ own pages

Heroku: How much does Heroku cost?

Heroku dyno pricing starts at $5 per month USD for the Eco tier (with 30-minute inactivity sleep), $7 per month for Basic (always-on), and scales up to $1,500 per month for Performance-2XL with 126 GB RAM.

Source
Eclipse Mosquitto: Can Mosquitto be clustered?

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

Heroku: What is the cheapest always-on Heroku plan?

The Basic Dyno at $7 per month USD is Heroku's cheapest always-on container option. It provides 0.5 GB RAM, free SSL, and support for 10 process types.

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.

Heroku: How is Heroku Postgres priced?

Heroku Postgres Essential tier (shared resources) starts at $5-$20 per month for 1-32 GB disk. Standard tier (dedicated) ranges $50-$12,000 per month. Premium, Private, Shield, and Advanced tiers offer higher performance at corresponding prices.

Source
Eclipse Mosquitto: How many clients can it handle?

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

Eclipse Mosquitto: Does it support MQTT 5?

Yes, along with 3.1.1 and 3.1.

Share

Related pages

Other head to heads