Usage & Enterprise Capabilities
Key Benefits
- Architecture Simplicity: Replace multiple databases (Document, Graph, KV) with one system.
- Unified AQL: One language for all queries, regardless of the underlying data model.
- Scalable Graph Performance: Perform deep traversals across massive graph datasets.
- Full-Text Integration: Combine search, graph, and document queries in a single operation.
- Operational Efficiency: Simplified backups, monitoring, and scaling across your entire data stack.
Production Architecture Overview
- Coordinators: Stateless nodes that handle client requests and distribute work.
- DB-Servers: Stateful nodes that store shards of data and perform computations.
- Agency: A highly available consensus group (Raft) that manages cluster state and metadata.
- Load Balancer: Standard reverse proxy to distribute traffic to Coordinators.
- Persistent Storage: High-performance SSDs/Persistent Volumes for DB-Servers.
Implementation Blueprint
Implementation Blueprint
Prerequisites
sudo apt update && sudo apt upgrade -y
sudo apt install docker.io docker-compose -y
sudo systemctl enable docker
sudo systemctl start dockerDocker Compose Production Setup (Single Node)
version: '3'
services:
arangodb:
image: arangodb:latest
container_name: arango
ports:
- "8529:8529"
volumes:
- arango_data:/var/lib/arangodb3
environment:
- ARANGO_ROOT_PASSWORD=strongpassword123
restart: always
volumes:
arango_data:Kubernetes Production Deployment (Recommended)
# Install the Operator
helm repo add arangodb https://arangodb.github.io/kube-arangodb
helm install kube-arangodb arangodb/kube-arangodb --namespace arango-admin --create-namespace
# Deploy a Cluster
kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/master/examples/simple-cluster.yaml- Automated Lifecycle: Upgrades, backups, and scaling handled automatically.
- Self-Healing: The operator ensures that failed nodes are replaced and shards are rebalanced.
- Declarative Config: Manage your entire database topology via standard Kubernetes manifests.
Scaling & Sharding Strategy
- Shard Management: Distribute shards across multiple DB-Servers to balance the load.
- Satellite Collections: Replicate small, frequently joined collections to every DB-Server for near-instant joins.
- Coordinator Scaling: Add more Coordinators to handle increases in concurrent client connections.
Backup & Security
- ArangoDump: Use the official CLI tool for logical backups of individual databases or the entire cluster.
- Authentication: Always enable authentication and use encrypted connections (SSL/TLS).
- Encryption at Rest: Ensure the data volumes on the host system are encrypted.
- Firewalling: Restrict access to port 8529 to only trusted internal networks.
Recommended Hosting for ArangoDB
For systems like ArangoDB, we recommend high-performance VPS hosting. Hostinger offers dedicated setups for open-source tools with one-click installer scripts and 24/7 priority support.
Get Started on HostingerExplore Alternative Tools Infrastructure
Kubernetes
Kubernetes is a production-grade, open-source platform for automating deployment, scaling, and operations of application containers.
Supabase
Supabase is the leading open-source alternative to Firebase. It provides a full backend-as-a-service (BaaS) powered by PostgreSQL, including authentication, real-time subscriptions, and storage.