chenhong1990 commented on issue #2510: URL: https://github.com/apache/incubator-hugegraph/issues/2510#issuecomment-2044379859
> @z7658329 rest-server配置如下: # rpc server configs for multi graph-servers or raft-servers rpc.server_host=172.30.96.162 rpc.server_port=8091 #rpc.server_timeout=30 # rpc client configs (like enable to keep cache consistency) rpc.remote_url=172.30.96.162:8091,172.30.96.139:8091,172.30.96.182:8091 rpc.client_connect_timeout=20 rpc.client_reconnect_period=10 rpc.client_read_timeout=40 rpc.client_retries=3 rpc.client_load_balancer=consistentHash # raft group initial peers raft.group_peers=172.30.96.162:8091,172.30.96.139:8091,172.30.96.182:8091 # lightweight load balancing (beta) server.id=server-1 server.role=master hugegraph配置如下: backend=rocksdb serializer=binary store=hugegraph raft.mode=true 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 raft.endpoint=172.30.96.162:8091 raft.group_peers=172.30.96.162:8091,172.30.96.139:8091,172.30.96.182:8091 search.text_analyzer=jieba search.text_analyzer_mode=INDEX #rocksdb backend config rocksdb.data_path=/data/hugegraph1.2.0/apache-hugegraph-incubating-1.2.0/data/hugegraph rocksdb.wal_path=/data/hugegraph1.2.0/apache-hugegraph-incubating-1.2.0/wal/hugegraph -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
