Skip to content

Commit

Permalink
reduce rpc connections
Browse files Browse the repository at this point in the history
reduce rpc connections to 6000

change machine types
  • Loading branch information
DaMandal0rian committed Aug 1, 2024
1 parent 8579eaa commit 1ec6923
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion ansible/network/files/docker-compose-domain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ services:
"--node-key", "${NODE_KEY}",
"--in-peers", "500",
"--out-peers", "250",
"--rpc-max-connections", "10000",
"--rpc-max-connections", "6000",
"--rpc-cors", "all",
"--rpc-listen-on", "0.0.0.0:9944",
"--rpc-methods", "safe",
Expand Down
2 changes: 1 addition & 1 deletion ansible/network/files/docker-compose-rpc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ services:
"--node-key", "${NODE_KEY}",
"--in-peers", "500",
"--out-peers", "250",
"--rpc-max-connections", "10000",
"--rpc-max-connections", "6000",
"--rpc-cors", "all",
"--rpc-listen-on", "0.0.0.0:9944",
"--rpc-methods", "safe",
Expand Down
6 changes: 3 additions & 3 deletions resources/gemini-3h/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ variable "domain_labels" {
variable "instance_type" {
type = map(string)
default = {
bootstrap = "c7a.4xlarge"
rpc = "m6a.xlarge"
domain = "m6a.xlarge"
bootstrap = "c7a.2xlarge"
rpc = "m7a.xlarge"
domain = "m7a.xlarge"
rpc-squid = "c7a.2xlarge"
nova-squid = "c7a.2xlarge"
farmer = "c7a.2xlarge"
Expand Down
2 changes: 1 addition & 1 deletion templates/scripts/create_domain_node_compose_file.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ services:
"--node-key", "\${NODE_KEY}",
"--in-peers", "500",
"--out-peers", "250",
"--rpc-max-connections", "15000",
"--rpc-max-connections", "6000",
"--rpc-cors", "all",
"--rpc-listen-on", "0.0.0.0:9944",
"--rpc-methods", "safe",
Expand Down
2 changes: 1 addition & 1 deletion templates/scripts/create_rpc_node_compose_file.sh
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ services:
"--node-key", "\${NODE_KEY}",
"--in-peers", "500",
"--out-peers", "250",
"--rpc-max-connections", "15000",
"--rpc-max-connections", "6000",
"--rpc-cors", "all",
"--rpc-listen-on", "0.0.0.0:9944",
"--rpc-methods", "safe",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ services:
"--node-key", "\${NODE_KEY}",
"--in-peers", "500",
"--out-peers", "250",
"--rpc-max-connections", "10000",
"--rpc-max-connections", "6000",
"--rpc-cors", "all",
"--rpc-listen-on", "0.0.0.0:9944",
"--rpc-methods", "safe",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ services:
"--node-key", "\${NODE_KEY}",
"--in-peers", "500",
"--out-peers", "250",
"--rpc-max-connections", "10000",
"--rpc-max-connections", "6000",
"--rpc-cors", "all",
"--rpc-listen-on", "0.0.0.0:9944",
"--rpc-methods", "safe",
Expand Down

0 comments on commit 1ec6923

Please sign in to comment.