Softwr

Databases · head to head

Convex vs Nebula

Convex logo

Convex

Databases

Reactive backend combining a document database, TypeScript server functions and live queries, source-available under the Functional Source Licence.

From
Free
Free plan
Yes
Nebula logo

Nebula

Networking

Certificate based overlay network from Slack, with identity and firewall rules carried in the certificate

From
Free
Free plan
Yes

The short version

  • Nebula is free; Convex starts at $25/mo.
  • Only Convex lists reactive queries; only Nebula lists certificate carried identity.

How do Convex and Nebula differ?

Convex and Nebula differ on pricing model, platforms and category (Databases against Networking). Only the attributes on which Convex and Nebula actually diverge.

Attributes where Convex and Nebula differ
AttributeConvexNebula
Pricing modelSubscriptionOpen source, no licence fee
PlatformsWebLinux, macOS, Windows, iOS, Android
CategoryDatabasesNetworking

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

Which features does each one have?

They share no listed features; 10 appear only for Convex and 6 only for Nebula. 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 Convex

  • Reactive queries
  • TypeScript server functions
  • ACID transactions
  • Document database
  • Scheduling and workflows
  • File storage
  • Text and vector search
  • End-to-end types

Only in Nebula

  • Certificate carried identity
  • Group based host firewall
  • Lighthouse discovery
  • Noise protocol encryption
  • Unsafe routes
  • Managed option

What is each one used for?

The jobs each tool is most often brought in to do.

Convex

  • Collaborative applications where several users see the same data and every client must reflect a change immediatelynot Nebula
  • Agent backends that need durable state, scheduled work and transactional writes without assembling a queue, a database and a cachenot Nebula
  • Small product teams who need a complete backend, including auth integration, file storage and subscriptions, without hiring infrastructure engineersnot Nebula
  • Prototypes that must become production without a rewrite of the data layer, where end-to-end TypeScript types remove a class of integration bugsnot Nebula

Nebula

  • Flattening a network across several clouds and datacentres without VPC peering or route tablesnot Convex
  • Very large fleets where a central policy service on the connection path is unacceptablenot Convex
  • Environments that already run an internal certificate authority and want the network to use itnot Convex
  • Replacing per host iptables rules with policy written against roles that follow the hostnot Convex

Where do Convex and Nebula fall short?

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

Convex

  • The Functional Source Licence is not an OSI open source licence: competing use is prohibited until each release reaches its second anniversary and converts to Apache 2.0, so you may self-host but you may not build a service on it
  • Transactions are bounded at one second of user code, 16 MiB read and written, 32,000 documents scanned and 16,000 written, so every backfill, migration or bulk import has to be chunked into scheduled batches rather than written as a single operation
  • There is no SQL and no query planner; you declare up to 32 indexes per table and traverse them, and joins are loops in TypeScript, so an unanticipated access pattern requires a schema and index change rather than a new query
  • It is not an analytical database, so reporting means streaming data out to a warehouse and BI tools cannot be pointed at Convex directly, which adds a pipeline the architecture diagram did not originally include
  • The application is written against Convex's function and client APIs rather than a standard protocol, so leaving means rewriting the data access layer and replacing the reactivity model, not repointing a connection string

Nebula

  • The open source project has no user interface, no enrolment workflow and no revocation service, so certificate issuing, distribution and expiry become scripts you write and then have to keep working
  • Revoking a compromised host means distributing a blocklist entry to every other host and reloading them, which is a fleet wide operation rather than a click, and easy to get wrong under pressure
  • Changing a host group membership means reissuing and redeploying its certificate, so policy changes are a deployment rather than a configuration edit
  • There is no identity provider integration or single sign on in the open source version, so it maps well to servers and badly to a fleet of user laptops
  • NAT traversal is best effort and hosts behind symmetric NAT need a relay configured deliberately, so connectivity failures show up as intermittent rather than immediate and are awkward to diagnose

How much do Convex and Nebula cost?

Convex has a free plan, with paid plans from $25/mo; Nebula is free to use. Plan by plan below, from each vendor's own pricing page.

Convex

Free
  • Free & StarterFree
    • Supports 1-6 developers
    • Reactive database
    • File storage
  • Professional$25
    • Supports up to 20 developers
    • All Starter features
    • Log streaming
  • Business & Enterprise$2,500/month minimum
    • Supports 50+ developers
    • SAML/SSO
    • Service SLAs

Nebula

Free
  • NebulaFree
    • Full functionality under the MIT licence
    • No host limit
    • You operate the certificate authority and lighthouses
  • Defined NetworkingOn request
    • Hosted control plane and enrolment
    • Managed certificate lifecycle and revocation
    • Policy and DNS interface

Which should you pick?

Choose Convex if

  • You need reactive queries.
  • You want to start without paying.
  • You also want typescript server functions.

Choose Nebula if

  • You need certificate carried identity.
  • You want to start without paying.
  • You work on Linux, macOS, Windows, iOS, Android.
  • You also want group based host firewall.

Questions people ask

Is Convex or Nebula better?
It depends on the job. Convex fits collaborative applications where several users see the same data and every client must reflect a change immediately; Nebula fits flattening a network across several clouds and datacentres without VPC peering or route tables. Convex starts at Free and Nebula at Free.
Which is cheaper, Convex or Nebula?
Convex starts at Free and Nebula at Free.
Does Convex or Nebula run on more platforms?
Convex runs on Web. Nebula runs on Linux, macOS, Windows, iOS, Android.
Can I use Convex for free?
Both have a free tier, so you can try either at no cost before committing.
What is Convex best used for?
Convex is most often used for collaborative applications where several users see the same data and every client must reflect a change immediately, agent backends that need durable state, scheduled work and transactional writes without assembling a queue, a database and a cache, small product teams who need a complete backend, including auth integration, file storage and subscriptions, without hiring infrastructure engineers, prototypes that must become production without a rewrite of the data layer, where end-to-end typescript types remove a class of integration bugs. Of those, collaborative applications where several users see the same data and every client must reflect a change immediately and agent backends that need durable state, scheduled work and transactional writes without assembling a queue, a database and a cache are not what Nebula is typically brought in for.
What can Convex do that Nebula cannot?
Convex covers Reactive queries, TypeScript server functions, ACID transactions, Document database. Nebula covers Certificate carried identity, Group based host firewall, Lighthouse discovery, Noise protocol encryption.

Answered from the vendors’ own pages

Convex: Is Convex open source?

It is source-available under FSL-1.1-Apache-2.0. You may read, modify and self-host it, but competing use is prohibited until each release converts to Apache 2.0 on its second anniversary.

Nebula: Does it use WireGuard?

No. Nebula predates the common WireGuard mesh tools and uses the Noise protocol framework with its own certificate format.

Convex: Can I self-host it?

Yes. The backend, dashboard and CLI can run on your own infrastructure, with most of the features of the cloud product. Self-hosted instances include a telemetry beacon that can be disabled.

Nebula: Can I run it without Defined Networking?

Yes, entirely. Defined Networking sells the control plane conveniences, not the network itself.

Convex: Does it support SQL?

No. Data is accessed through a TypeScript query builder over declared indexes. Relationships are traversed in code, which is explicit and type-safe but means no ad hoc querying.

Nebula: How do I revoke a host?

Add its certificate fingerprint to the blocklist in the configuration of the other hosts and reload them. There is no online revocation check.

Convex: What happens if a mutation exceeds the limits?

It fails rather than running longer, so bulk work must be split into batches and scheduled. The limits are per transaction: one second of user code, 16 MiB read and written, 32,000 documents scanned and 16,000 written.

Nebula: Is it a good fit for laptops?

Less so than the identity provider based tools. There is no single sign on, so every laptop needs a certificate issued and renewed by whatever process you build.

Convex: How does reactivity actually work?

Queries are deterministic functions and Convex records the data each one read. When a mutation changes that data, affected queries are re-run and subscribed clients receive the new result, so cache invalidation is handled by the platform.

Share

Related pages

Other head to heads