one query background
background img

What you can't do with Neo4j

ArangoDB offers the same functionality as Neo4j with more than competitive performance, plus several additional features:

  • Multi-Model: Neo4j is a single-model graph database. It does not support any other data models. If your application requires a document or key/value store, you would have to use a second database technology to support it. Being multi-model, ArangoDB allows you to not only use one database for everything,but run ad hoc queries on data stored in different models.
  • Scalability: Scaling graph collections over many instances is technically a hard task. But with ArangoDB it is possible to minimize the network-hop problem and run queries highly efficient even against distributed graph data. Neo4j does not support this.
  • Extensibility:Use existing data-centric microservices or run your own in a dedicated JavaScript framework within ArangoDB, providing a single API call for complex graph traversals.
  • Performance: In ArangoDB you can use the same collection for a graph and for a document query without performance losses. ArangoDB showed competitive or even better performance.
  • Operational costs: ArangoDB can be used for a broad range of use cases and reduces the number of storage products in your technology stack.

Scalability needs and ArangoDB

ArangoDB is cluster ready for graphs, documents and key/values. ArangoDB is suitable for e.g. recommendation engines, personalization, Knowledge Graphs or other graph-related use cases. ArangoDB provides special features for scale-up (Vertex-centric indices) and scale-out (SmartGraphs).

Scalability vs Complexity 1536x1002

We use ArangoDB for our dPaaS solution Alloy™ Health Platform. ArangoDB is a perfect fit for the shape of our data and the shape of our queries, for both document and graph needs.

Brad Anderson, VP Big Data Analytics Liaison Technologies

You can also check out a more detailed AQL (ArangoDB Query Language) to Neo4j Cypher comparison.

High-Level Overview

Feature Neo4JArangoDB
General
Initial Release 20072012
License AGPLv3 / CommercialApache 2 / Commercial
Commercial Friendly Licensenoyes
Written inJavaC++
Data-Modelgraphmulti-model
document, graph, key-value
Schema freeyesyes
schema validation with Foxx
Data formatJSON JSON / VelocyPack
Data StorageNeo4j graph storageMMFiles/RocksDB
Cluster
Auto-Shardingnoyes
Replicationasyncsync / async
Replication conflict resolutionMaster/AgentMaster/Master
Master/Agent
Elastic Scalabilitynoyes with DC/OS
Zero Configurationnoyes
native Apache Mesos Supportnofully certified
by Mesosphere
including persitent primitives
Transactions
Transaction ModelACIDACID
Multi-Document Transactionsyesyes*
(single instance)
Multi-Collection Transactionsyesyes*
(single instance)
Querying
Declarative Query LanguageNeo4j CypherAQL
One sql-like query language for all data-models
Relationsedgesedges
Relational Joinsnoyes
Advanced path-finding with multiple algorithmsyesyes
TinkerPop Supportyesyes
Text search (indexing / queries)yes / yesyes / yes
Geospatial (indexing / queries)yes / yesyes / yes
Extensibility
ModeServer-side Java pluginsMicroservice framework Foxx
based on Google V8 **
Server-Side Functionsyesyes
Security
EncryptionnoTLS / SSL
Authenticationyesyes
Role-based access controlyesyes ***
Attribute level vvia Foxx framework
Auditingnoyes
(enterprise version)
Administration
Web-based GUI (self-contained)yesyes
Cluster friendly GUInoyes

* In single server setups, ArangoDB supports full ACID transactions for multi-document & multi-collection transactions. In a cluster setup, ArangoDB only supports multi-document & multi-collection transactions for non-sharded collections. Single document transactions are supported for shared collections.

** Easily create a REST API for data centric use cases and adds any missing functionality.

*** ArangoDB supports all basic security requirements. By using ArangoDB’s Foxx microservice framework users can achieve very high security standards fitting individual needs.

Performance Benchmark of ArangoDB

UPDATE Benchmark 2018 (1)

Overall Results: Performance Benchmark (February 2018)

Benchmarks continue to show competitive to superior performance in ArangoDB over single-model databases, like MongoDB, Neo4j and PostgreSQL, as well as other multi-model databases, like OrientDB.

Our complete benchmark series is open source. It investigates how databases perform in some of the most common operations, such as single read/writes, single write sync, aggregation, shortest paths, neighbors, neighbors with profiles, and memory usage.

Related content: