How it helps your business
Key Benefits
- Infinite Growth: Add more storage and compute nodes to your cluster as your graph grows.
- Flexible Backend: Choose the storage engine that best fits your existing infrastructure (e.g., Cassandra or HBase).
- Search Power: Seamlessly integrate with Elasticsearch to add powerful full-text and geo-search to your graph traversals.
- Enterprise Open Source: Fully open-source under the Apache 2.0 license with a massive community.
- Real-time & Batch: Designed for both real-time operational queries and global graph analytics via Spark.
Production Architecture Overview
- JanusGraph Server: The stateless middleware that handles Gremlin queries.
- Storage Backend: (e.g., a Cassandra cluster) to store all graph vertices, edges, and properties.
- Index Backend: (e.g., an Elasticsearch cluster) to handle full-text and non-graph indexes.
- Load Balancer: Standard proxy to distribute client requests to JanusGraph server nodes.
How we deploy this for you
Security Hardened
Firewalls, SSL, and hardened kernels out of the box.
Performance Tuned
Optimized for speed with cache and DB fine-tuning.
Automated Backups
Daily off-site backups so you never lose your data.
Private Cloud
You own the server and the data. No middleman.
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 (With Cassandra & ES)
version: '3'
services:
janusgraph:
image: janusgraph/janusgraph:latest
ports:
- "8182:8182"
environment:
- JANUSGRAPH_CONFIG_storage_backend=cql
- JANUSGRAPH_CONFIG_storage_hostname=cassandra
- JANUSGRAPH_CONFIG_index_search_backend=elasticsearch
- JANUSGRAPH_CONFIG_index_search_hostname=elasticsearch
depends_on:
- cassandra
- elasticsearch
cassandra:
image: cassandra:4
volumes:
- cassandra_data:/var/lib/cassandra
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.0
environment:
- discovery.type=single-node
volumes:
- es_data:/usr/share/elasticsearch/data
volumes:
cassandra_data:
es_data:Kubernetes Production Deployment (Recommended)
# Deploy using a community or custom chart
helm install my-janusgraph ./janusgraph-chart --namespace graphs- Stateful Management: Use StatefulSets for reliable Cassandra and Elasticsearch storage.
- Horizontal Pod Autoscaling: Scale the JanusGraph server pods based on Gremlin query load.
- Zero-Downtime Reliability: Rolling updates for the server tire without interrupting the database.
Scaling & Performance
- Vertex Centric Indexes: For super-nodes with millions of edges, always use vertex-centric indexes to speed up local traversals.
- Backend Optimization: Tune your Cassandra or HBase cluster for write-heavy graph ingestion.
- Caching: Configure JanusGraph's in-memory transaction and record caches to minimize backend lookups.
Backup & Disaster Recovery
- Backend Snapshots: Perform snapshots of your underlying Cassandra or HBase cluster for reliable point-in-time recovery.
- Solr/ES Snapshots: Regularly snapshot your search indexes to avoid full re-indexing in case of failures.
- Volume Replication: In multi-region deployments, use the storage tier's native replication (e.g., Cassandra's multi-DC support).
Includes Security & performance standards
Best place to host JanusGraph
We recommend Hostinger for its reliability and low cost. It's the perfect home for your new apps, featuring easy setup and 24/7 support.
Get Started on HostingerCompare Similar Tools
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.