You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Increased the default values for --in-peers, --out-peers, --dsn-in-connections, --dsn-out-connections, --dsn-pending-in-connections, and --dsn-pending-out-connections from 1000 to 2000 in create_bootstrap_node_compose_file.sh and create_bootstrap_node_evm_compose_file.sh.
Updated traefik image version from v2.10 to v2.11.6 in create_domain_node_compose_file.sh and create_rpc_node_compose_file.sh.
Increased the default value for --rpc-max-connections from 10000 to 15000 in create_domain_node_compose_file.sh and create_rpc_node_compose_file.sh.
Changes walkthrough 📝
Relevant files
Enhancement
create_bootstrap_node_compose_file.sh
Increase peer and connection limits in bootstrap node compose script
Increased the default values for --in-peers, --out-peers, --dsn-in-connections, --dsn-out-connections, --dsn-pending-in-connections, and --dsn-pending-out-connections from 1000 to 2000.
Increased the default values for --in-peers, --out-peers, --dsn-in-connections, --dsn-out-connections, --dsn-pending-in-connections, and --dsn-pending-out-connections from 1000 to 2000.
Possible Performance Impact:
The increase in default values for peer and connection limits might have implications on system performance and resource utilization. It would be beneficial to ensure that these changes are tested under load to verify that the system can handle the increased numbers without degradation.
Configuration Validation:
Ensure that the new default values do not conflict with other system settings or exceed any built-in limits of the software components.
Replace hardcoded peer and connection limits with configurable environment variables
Consider using environment variables or a configuration file to manage the peer and connection limits. This approach enhances flexibility and maintainability, allowing adjustments without modifying the script directly.
Why: Using environment variables for configuration enhances maintainability and flexibility, allowing changes without modifying the script directly. This is a significant improvement for managing configurations.
8
Best practice
Use an environment variable for the Traefik image version to enhance maintainability
Update the image version for Traefik in a configuration file or use an environment variable to manage versioning dynamically. This change will make version updates easier and more consistent across different scripts.
Why: Managing the Traefik image version through an environment variable improves maintainability and consistency across different scripts, although it is a minor enhancement.
7
Possible issue
Validate and warn if the RPC maximum connections setting exceeds recommended limits
Consider validating the increase in RPC maximum connections to ensure it does not exceed the server's capacity, potentially using a configuration check or a warning log if the value is too high.
Why: Adding a validation check for RPC maximum connections can prevent potential server overloads, enhancing robustness. However, the implementation might need refinement to integrate seamlessly.
6
Performance
Dynamically adjust RPC maximum connections based on server load
Implement a mechanism to adjust the RPC maximum connections based on the load or time of day to optimize resource usage and prevent server overload.
Why: Dynamically adjusting RPC connections based on load can optimize resource usage, but the suggestion lacks details on how to implement the adjustment mechanism, making it less practical without further context.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Type
enhancement
Description
--in-peers
,--out-peers
,--dsn-in-connections
,--dsn-out-connections
,--dsn-pending-in-connections
, and--dsn-pending-out-connections
from 1000 to 2000 increate_bootstrap_node_compose_file.sh
andcreate_bootstrap_node_evm_compose_file.sh
.traefik
image version fromv2.10
tov2.11.6
increate_domain_node_compose_file.sh
andcreate_rpc_node_compose_file.sh
.--rpc-max-connections
from 10000 to 15000 increate_domain_node_compose_file.sh
andcreate_rpc_node_compose_file.sh
.Changes walkthrough 📝
create_bootstrap_node_compose_file.sh
Increase peer and connection limits in bootstrap node compose script
templates/scripts/create_bootstrap_node_compose_file.sh
--in-peers
,--out-peers
,--dsn-in-connections
,--dsn-out-connections
,--dsn-pending-in-connections
, and--dsn-pending-out-connections
from1000 to 2000.
create_bootstrap_node_evm_compose_file.sh
Increase peer and connection limits in bootstrap node EVM compose
script
templates/scripts/create_bootstrap_node_evm_compose_file.sh
--in-peers
,--out-peers
,--dsn-in-connections
,--dsn-out-connections
,--dsn-pending-in-connections
, and--dsn-pending-out-connections
from1000 to 2000.
create_domain_node_compose_file.sh
Update traefik version and increase RPC max connections in domain node
compose script
templates/scripts/create_domain_node_compose_file.sh
traefik
image version fromv2.10
tov2.11.6
.--rpc-max-connections
from 10000 to15000.
create_rpc_node_compose_file.sh
Update traefik version and increase RPC max connections in RPC node
compose script
templates/scripts/create_rpc_node_compose_file.sh
traefik
image version fromv2.10
tov2.11.6
.--rpc-max-connections
from 10000 to15000.