| # gremlin entrance to create graph |
| # auth config: org.apache.hugegraph.auth.HugeFactoryAuthProxy |
| gremlin.graph=org.apache.hugegraph.HugeFactory |
| |
| # cache config |
| #schema.cache_capacity=100000 |
| # vertex-cache default is 1000w, 10min expired |
| vertex.cache_type=l2 |
| #vertex.cache_capacity=10000000 |
| #vertex.cache_expire=600 |
| # edge-cache default is 100w, 10min expired |
| edge.cache_type=l2 |
| #edge.cache_capacity=1000000 |
| #edge.cache_expire=600 |
| |
| |
| # schema illegal name template |
| #schema.illegal_name_regex=\s+|~.* |
| |
| #vertex.default_label=vertex |
| |
| backend=rocksdb |
| serializer=binary |
| |
| store=hugegraph |
| |
| raft.mode=false |
| raft.path=./raft-log |
| raft.safe_read=true |
| raft.use_replicator_pipeline=true |
| raft.election_timeout=10000 |
| raft.snapshot_interval=3600 |
| raft.backend_threads=48 |
| raft.read_index_threads=8 |
| raft.snapshot_threads=4 |
| raft.snapshot_parallel_compress=false |
| raft.snapshot_compress_threads=4 |
| raft.snapshot_decompress_threads=4 |
| raft.read_strategy=ReadOnlyLeaseBased |
| raft.queue_size=16384 |
| raft.queue_publish_timeout=60 |
| raft.apply_batch=1 |
| raft.rpc_threads=80 |
| raft.rpc_connect_timeout=5000 |
| raft.rpc_timeout=60 |
| raft.install_snapshot_rpc_timeout=36000 |
| |
| search.text_analyzer=jieba |
| search.text_analyzer_mode=INDEX |
| |
| # rocksdb backend config |
| #rocksdb.data_path=/path/to/disk |
| #rocksdb.wal_path=/path/to/disk |
| |
| |
| # cassandra backend config |
| cassandra.host=localhost |
| cassandra.port=9042 |
| cassandra.username= |
| cassandra.password= |
| #cassandra.connect_timeout=5 |
| #cassandra.read_timeout=20 |
| #cassandra.keyspace.strategy=SimpleStrategy |
| #cassandra.keyspace.replication=3 |
| |
| # hbase backend config |
| #hbase.hosts=localhost |
| #hbase.port=2181 |
| #hbase.znode_parent=/hbase |
| #hbase.threads_max=64 |
| # IMPORTANT: recommend to modify the HBase partition number |
| # by the actual/env data amount & RS amount before init store |
| # It will influence the load speed a lot |
| #hbase.enable_partition=true |
| #hbase.vertex_partitions=10 |
| #hbase.edge_partitions=30 |
| |
| # mysql backend config |
| #jdbc.driver=com.mysql.jdbc.Driver |
| #jdbc.url=jdbc:mysql://127.0.0.1:3306 |
| #jdbc.username=root |
| #jdbc.password= |
| #jdbc.reconnect_max_times=3 |
| #jdbc.reconnect_interval=3 |
| #jdbc.ssl_mode=false |
| |
| # postgresql & cockroachdb backend config |
| #jdbc.driver=org.postgresql.Driver |
| #jdbc.url=jdbc:postgresql://localhost:5432/ |
| #jdbc.username=postgres |
| #jdbc.password= |
| #jdbc.postgresql.connect_database=template1 |
| |
| # palo backend config |
| #palo.host=127.0.0.1 |
| #palo.poll_interval=10 |
| #palo.temp_dir=./palo-data |
| #palo.file_limit_size=32 |