Need advice about which tool to choose?Ask the StackShare community!

Cayley

22
66
+ 1
5
Neo4j

971
1.1K
+ 1
340
Add tool

Cayley vs Neo4j: What are the differences?

Developers describe Cayley as "An open-source graph database". Cayley is an open-source graph inspired by the graph database behind Freebase and Google's Knowledge Graph. Its goal is to be a part of the developer's toolbox where Linked Data and graph-shaped data (semantic webs, social networks, etc) in general are concerned. On the other hand, Neo4j is detailed as "The world’s leading Graph Database". Neo4j stores data in nodes connected by directed, typed relationships with properties on both, also known as a Property Graph. It is a high performance graph store with all the features expected of a mature and robust database, like a friendly query language and ACID transactions.

Cayley and Neo4j belong to "Graph Databases" category of the tech stack.

Some of the features offered by Cayley are:

  • Written in Go
  • Easy to get running (3 or 4 commands, below)
  • RESTful API

On the other hand, Neo4j provides the following key features:

  • intuitive, using a graph model for data representation
  • reliable, with full ACID transactions
  • durable and fast, using a custom disk-based, native storage engine

"Full open source" is the primary reason why developers consider Cayley over the competitors, whereas "Cypher – graph query language" was stated as the key factor in picking Neo4j.

Cayley and Neo4j are both open source tools. Cayley with 12.6K GitHub stars and 1.13K forks on GitHub appears to be more popular than Neo4j with 6.6K GitHub stars and 1.63K GitHub forks.

Advice on Cayley and Neo4j
Jaime Ramos
Needs advice
on
Neo4jNeo4jDgraphDgraph
and
ArangoDBArangoDB

Hi, I want to create a social network for students, and I was wondering which of these three Oriented Graph DB's would you recommend. I plan to implement machine learning algorithms such as k-means and others to give recommendations and some basic data analyses; also, everything is going to be hosted in the cloud, so I expect the DB to be hosted there. I want the queries to be as fast as possible, and I like good tools to monitor my data. I would appreciate any recommendations or thoughts.

Context:

I released the MVP 6 months ago and got almost 600 users just from my university in Colombia, But now I want to expand it all over my country. I am expecting more or less 20000 users.

See more
Replies (2)
Recommends
ArangoDBArangoDB

I have not used the others but I agree, ArangoDB should meet your needs. If you have worked with RDBMS and SQL before Arango will be a easy transition. AQL is simple yet powerful and deployment can be as small or large as you need. I love the fact that for my local development I can run it as docker container as part of my project and for production I can have multiple machines in a cluster. The project is also under active development and with the latest round of funding I feel comfortable that it will be around a while.

See more
David López Felguera
Full Stack Developer at NPAW · | 5 upvotes · 18.8K views
Recommends
ArangoDBArangoDB

Hi Jaime. I've worked with Neo4j and ArangoDB for a few years and for me, I prefer to use ArangoDB because its query sintax (AQL) is easier. I've built a network topology with both databases and now ArangoDB is the databases for that network topology. Also, ArangoDB has ArangoML that maybe can help you with your recommendation algorithims.

See more
Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of Cayley
Pros of Neo4j
  • 5
    Full open source
  • 68
    Cypher – graph query language
  • 58
    Great graphdb
  • 31
    Open source
  • 29
    Rest api
  • 27
    High-Performance Native API
  • 24
    ACID
  • 20
    Easy setup
  • 15
    Great support
  • 10
    Clustering
  • 9
    Hot Backups
  • 8
    Great Web Admin UI
  • 7
    Powerful, flexible data model
  • 7
    Mature
  • 6
    Embeddable
  • 5
    Easy to Use and Model
  • 4
    Best Graphdb
  • 4
    Highly-available
  • 2
    It's awesome, I wanted to try it
  • 2
    Great onboarding process
  • 2
    Great query language and built in data browser
  • 2
    Used by Crunchbase

Sign up to add or upvote prosMake informed product decisions

Cons of Cayley
Cons of Neo4j
    Be the first to leave a con
    • 4
      Comparably slow
    • 4
      Can't store a vertex as JSON

    Sign up to add or upvote consMake informed product decisions

    What is Cayley?

    Cayley is an open-source graph inspired by the graph database behind Freebase and Google's Knowledge Graph. Its goal is to be a part of the developer's toolbox where Linked Data and graph-shaped data (semantic webs, social networks, etc) in general are concerned.

    What is Neo4j?

    Neo4j stores data in nodes connected by directed, typed relationships with properties on both, also known as a Property Graph. It is a high performance graph store with all the features expected of a mature and robust database, like a friendly query language and ACID transactions.

    Need advice about which tool to choose?Ask the StackShare community!

    What companies use Cayley?
    What companies use Neo4j?
      No companies found
      See which teams inside your own company are using Cayley or Neo4j.
      Sign up for Private StackShareLearn More

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with Cayley?
      What tools integrate with Neo4j?
        No integrations found

        Sign up to get full access to all the tool integrationsMake informed product decisions

        Blog Posts

        What are some alternatives to Cayley and Neo4j?
        Titan
        Titan is a scalable graph database optimized for storing and querying graphs containing hundreds of billions of vertices and edges distributed across a multi-machine cluster. Titan is a transactional database that can support thousands of concurrent users executing complex graph traversals in real time.
        Dgraph
        Dgraph's goal is to provide Google production level scale and throughput, with low enough latency to be serving real time user queries, over terabytes of structured data. Dgraph supports GraphQL-like query syntax, and responds in JSON and Protocol Buffers over GRPC and HTTP.
        JanusGraph
        It is a scalable graph database optimized for storing and querying graphs containing hundreds of billions of vertices and edges distributed across a multi-machine cluster. It is a transactional database that can support thousands of concurrent users executing complex graph traversals in real time.
        ArangoDB
        A distributed free and open-source database with a flexible data model for documents, graphs, and key-values. Build high performance applications using a convenient SQL-like query language or JavaScript extensions.
        MongoDB
        MongoDB stores data in JSON-like documents that can vary in structure, offering a dynamic, flexible schema. MongoDB was also designed for high availability and scalability, with built-in replication and auto-sharding.
        See all alternatives