Softwr

Databases · head to head

Dgraph vs pfSense

Dgraph logo

Dgraph

Databases

Apache 2.0 distributed graph database written in Go, maintained by Hypermode, queried through GraphQL or its own DQL language.

From
Free
Free plan
Yes
pfSense logo

pfSense

Networking

Open source firewall software with a free Community Edition and a separate commercial Plus edition sold by Netgate

From
Free
Free plan
Yes

The short version

  • pfSense is free; Dgraph starts at $39/mo.
  • Only Dgraph lists apache 2.0 licence; only pfSense lists stateful firewall and NAT.

How do Dgraph and pfSense differ?

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

Attributes where Dgraph and pfSense differ
AttributeDgraphpfSense
Pricing modelFreemiumOpen source Community Edition, free; commercial Plus edition sold separately by Netgate
PlatformsLinux, macOS, Self-hosted, WebLinux
CategoryDatabasesNetworking
Founded20162004

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

Which features does each one have?

They share no listed features; 10 appear only for Dgraph and 5 only for pfSense. 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 Dgraph

  • Apache 2.0 licence
  • Generated GraphQL API
  • DQL query language
  • Predicate sharding
  • Raft replication
  • Distributed ACID transactions
  • Written in Go
  • Full-text and geo indexing

Only in pfSense

  • Stateful firewall and NAT
  • VPN support
  • Traffic shaping and QoS
  • Package ecosystem
  • CE and Plus editions

What is each one used for?

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

Dgraph

  • An application whose core data is a graph, such as permissions, social connections or product relationships, where the frontend already consumes GraphQLnot pfSense
  • A knowledge graph that outgrew a single machine and needs storage distributed across nodes without a per-core licence negotiationnot pfSense
  • Recommendation or fraud-detection features that traverse several hops at request time, where a relational join chain has become the bottlenecknot pfSense
  • Teams that want a graph database they can read, fork and self-host under a permissive licence rather than a source-available onenot pfSense

pfSense

  • A home user or small business wanting a free, fully-featured firewall on commodity hardware with no licence costnot Dgraph
  • A business wanting an integrated firewall appliance with vendor support, typically buying a Netgate appliance bundled with pfSense Plusnot Dgraph
  • A team wanting to evaluate advanced features like real-time threat intelligence before committing to Netgate hardware or a Plus migrationnot Dgraph
  • An organisation replacing an expensive commercial firewall with an open source alternative while retaining the option to add commercial support laternot Dgraph

Where do Dgraph and pfSense fall short?

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

Dgraph

  • Sharding is by predicate, so a single very hot predicate lives entirely in one Raft group and cannot be split further; adding nodes does not relieve it and the fix is a data model change
  • Stewardship passed from Dgraph Labs to Hypermode after the original company stopped operating independently, so anyone building on it is betting on a second custodian rather than on the original team's roadmap
  • The GraphQL layer is generated and opinionated, so anything it does not express drops you into DQL, which is a second language your team must learn and which no other database speaks
  • The community is a fraction of Neo4j's, so operational answers, tuning experience, hiring and third-party tooling are all thinner, and unusual failure modes in a Zero and Alpha cluster leave you reading source rather than a forum
  • There is no portable graph standard to migrate to; Cypher, Gremlin and SPARQL are all different query models, so the schema and every query is a rewrite if you later leave, and that cost grows with the application

pfSense

  • pfSense CE and pfSense Plus are not simply the same software with a support contract layered on top; Plus is a separately developed edition with its own feature set, and moving between them is a migration, not a toggle
  • Running Plus on non-Netgate hardware depends on Netgate's current migration terms, which have changed over time, so a buyer planning to use white-box hardware with Plus should verify current eligibility rather than assume it works as it did previously
  • CE has no official vendor support channel; a business relying on it for production firewalling without a support contract is self-supporting on community forums
  • Some newer features and threat intelligence integrations are Plus-only, so CE users do not get feature parity going forward even though both editions remain under active development
  • Netgate's own appliance pricing and the terms of the CE-to-Plus migration path are not always clearly presented in one place, requiring some digging to understand the real total cost of a Plus deployment on non-Netgate hardware
  • As with any self-managed firewall, security depends on the operator applying updates and correctly configuring rules; there is no managed security operations layer included even in Plus

How much do Dgraph and pfSense cost?

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

Dgraph

Free
  • CommunityFree
    • Native GraphQL
    • Graph queries
    • Full-text search
  • Cloud$39/mo
    • Managed service
    • Auto-scaling
    • Enterprise support

pfSense

Free
  • pfSense CEFree
    • Full firewall and routing functionality
    • No vendor lock-in to hardware
    • Community support
  • pfSense Plus (via Netgate appliance)On request
    • Bundled with Netgate hardware appliances from around $189
    • Threat intelligence feeds
    • Certified support tiers

Which should you pick?

Choose Dgraph if

  • You need apache 2.0 licence.
  • You want to start without paying.
  • You work on Linux, macOS, Self-hosted, Web.
  • You also want generated graphql api.

Choose pfSense if

  • You need stateful firewall and nat.
  • You want to start without paying.
  • You work on Linux.
  • You also want vpn support.

Questions people ask

Is Dgraph or pfSense better?
It depends on the job. Dgraph fits an application whose core data is a graph, such as permissions, social connections or product relationships, where the frontend already consumes GraphQL; pfSense fits a home user or small business wanting a free, fully-featured firewall on commodity hardware with no licence cost. Dgraph starts at Free and pfSense at Free.
Which is cheaper, Dgraph or pfSense?
Dgraph starts at Free and pfSense at Free.
Does Dgraph or pfSense run on more platforms?
Dgraph runs on Linux, macOS, Self-hosted, Web. pfSense runs on Linux.
Can I use Dgraph for free?
Both have a free tier, so you can try either at no cost before committing.
What is Dgraph best used for?
Dgraph is most often used for an application whose core data is a graph, such as permissions, social connections or product relationships, where the frontend already consumes graphql, a knowledge graph that outgrew a single machine and needs storage distributed across nodes without a per-core licence negotiation, recommendation or fraud-detection features that traverse several hops at request time, where a relational join chain has become the bottleneck, teams that want a graph database they can read, fork and self-host under a permissive licence rather than a source-available one. Of those, an application whose core data is a graph, such as permissions, social connections or product relationships, where the frontend already consumes graphql and a knowledge graph that outgrew a single machine and needs storage distributed across nodes without a per-core licence negotiation are not what pfSense is typically brought in for.
What can Dgraph do that pfSense cannot?
Dgraph covers Apache 2.0 licence, Generated GraphQL API, DQL query language, Predicate sharding. pfSense covers Stateful firewall and NAT, VPN support, Traffic shaping and QoS, Package ecosystem.

Answered from the vendors’ own pages

Dgraph: Is Dgraph open source?

Yes. The current repository is Apache 2.0, which is a permissive OSI licence, and the project is at v25 under Hypermode's maintenance.

pfSense: What is the difference between pfSense CE and pfSense Plus?

CE is the free, open source edition installable on any compatible hardware; Plus is a commercial edition from Netgate with additional features and support, typically bundled with Netgate appliances.

Dgraph: Is it really GraphQL?

It serves a generated GraphQL API, which is real GraphQL for clients. Its native language, DQL, resembles GraphQL syntactically but is Dgraph's own language and is not the GraphQL specification.

pfSense: Can I run pfSense Plus on my own hardware?

It is possible through a migration from a CE installation via Netgate's official channel, but the terms and availability of that path have changed over time and should be confirmed directly with Netgate.

Dgraph: How does it compare to Neo4j?

Neo4j has the larger ecosystem, Cypher, and far more operational precedent. Dgraph distributes storage across nodes by default and gives you a GraphQL endpoint without writing resolvers. The choice usually turns on whether you need horizontal scale and a GraphQL surface more than you need ecosystem depth.

pfSense: Is pfSense CE really free with no catch?

Yes, CE has no licence fee and no hardware lock-in, though it comes with community rather than vendor support.

Dgraph: What does a production cluster look like?

At minimum a set of Zero nodes for coordination and a replicated set of Alpha nodes for data, typically three of each for fault tolerance, which is a meaningfully larger operational footprint than a single graph server.

Dgraph: Who maintains it now?

Hypermode. Dgraph Labs, the original company, no longer operates it, and that change of custodian is the main non-technical risk to weigh.

Share

Related pages

Other head to heads