When comparing CockroachDB vs ArangoDB, the Slant community recommends CockroachDB for most people. In the question“What are the best open-source Relational Databases?” CockroachDB is ranked 5th while ArangoDB is ranked 6th.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Distributed transactions
Pro High availability
Pro Automated scaling & repair
Pro Cross Cloud Provider Replication/Migration
Run CockroachDB nodes in two or more cloud networks (AWS, GCP, Azure) and replicate the databases. Migrate from one cloud provider to another.
See this blog article for details: https://www.cockroachlabs.com/blog/cross-cloud-migration/
Pro SQL
Pro Strong consistency
Pro Simplified deployment
Pro Document and graph-orientend
You can model your data as documents or as a graph - no data model lock-in. You can even combine both models and use them in a single AQL query.
Pro Supports joins
Unlike many NoSQL databases, ArangoDB does support joins in AQL queries.
Pro JavaScript-API
You can extend ArangoDB using JavaScript that runs directly on the Server (Google V8). You can build data-centric microservices that aggregate, validate, transform or enrich data (It's up to you, plain JavaScript) and provide those via a custom API route.
Pro Transaction save
You can use ACID Transactions for short and small data retrieval and/or modification operations in ArangoDB.
Pro Easy cluster setup
Pro Powerful Java Driver (Sync & Async)
ArangoDB has a very good Java Driver for synchronous and asynchronous. In addition the team there is working on a Spring Data integration.
Cons
Con Immature project
Some important features are missing and heavy use in production is minimal.