This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reduce the network usage post (#118)
* reduce the network usage post * fixing linting issue
- Loading branch information
Showing
8 changed files
with
147 additions
and
0 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
version: 1 | ||
--- | ||
|
||
## Preface | ||
|
||
Pactus is designed for low traffic usage. | ||
However, some users still face bandwidth limitations imposed by their Internet Service Providers (ISPs). | ||
This guide will explore effective ways to reduce networking usage for a Pactus node. | ||
|
||
### Reducing the number of connection | ||
|
||
By default, Pactus attempts to maintain 64 open connections with other nodes, | ||
split into 32 inbound and 32 outbound connections. | ||
To reduce networking usage, you can decrease this maximum number of connections. | ||
However, it's important to remember that more connections with | ||
peers usually enable the node to function more effectively and securely. | ||
The `max_connections` setting in the config file can be adjusted to manage the maximum number of connections. | ||
|
||
### Disabling Relay | ||
|
||
A relay connection is a type of connection that can be established between two peers, | ||
usually behind a NAT, by a third-party peer known as a relay. | ||
This is especially helpful when users run Pactus on a private network like home internet. | ||
However, the relay connection is not as stable as a direct connection. | ||
Disabling the relay connection may reduce network usage. | ||
If you have a reliable and public IP address, you can disable the relay connection. | ||
The relay connection is enabled by default. To disable the relay connection, | ||
set `enable_relay` to `false` inside the config file. | ||
|
||
### Disabling Node-Network service | ||
|
||
A node-network is a type of node that provides historical data, such as blocks, | ||
to other nodes so they can sync with the network. | ||
By default, this service is enabled. | ||
Disabling this service helps reduce traffic usage. | ||
Keep in mind that new nodes rely on other nodes to be able to sync. | ||
To disable the node-network service, set `node_network` to `false`. | ||
|
||
### Disabling Node-Gossip service | ||
|
||
The node-gossip is a type of node that helps the network by broadcasting data | ||
such as transactions and consensus votes. | ||
By default, this service is disabled. If you enable this service, | ||
the network usage of your node will increase. |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
version: 1 | ||
--- | ||
|
||
## Preface | ||
|
||
Pactus is designed for low traffic usage. | ||
However, some users still face bandwidth limitations imposed by their Internet Service Providers (ISPs). | ||
This guide will explore effective ways to reduce networking usage for a Pactus node. | ||
|
||
### Reducing the number of connection | ||
|
||
By default, Pactus attempts to maintain 64 open connections with other nodes, | ||
split into 32 inbound and 32 outbound connections. | ||
To reduce networking usage, you can decrease this maximum number of connections. | ||
However, it's important to remember that more connections with | ||
peers usually enable the node to function more effectively and securely. | ||
The `max_connections` setting in the config file can be adjusted to manage the maximum number of connections. | ||
|
||
### Disabling Relay | ||
|
||
A relay connection is a type of connection that can be established between two peers, | ||
usually behind a NAT, by a third-party peer known as a relay. | ||
This is especially helpful when users run Pactus on a private network like home internet. | ||
However, the relay connection is not as stable as a direct connection. | ||
Disabling the relay connection may reduce network usage. | ||
If you have a reliable and public IP address, you can disable the relay connection. | ||
The relay connection is enabled by default. To disable the relay connection, | ||
set `enable_relay` to `false` inside the config file. | ||
|
||
### Disabling Node-Network service | ||
|
||
A node-network is a type of node that provides historical data, such as blocks, | ||
to other nodes so they can sync with the network. | ||
By default, this service is enabled. | ||
Disabling this service helps reduce traffic usage. | ||
Keep in mind that new nodes rely on other nodes to be able to sync. | ||
To disable the node-network service, set `node_network` to `false`. | ||
|
||
### Disabling Node-Gossip service | ||
|
||
The node-gossip is a type of node that helps the network by broadcasting data | ||
such as transactions and consensus votes. | ||
By default, this service is disabled. If you enable this service, | ||
the network usage of your node will increase. |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
version: 1 | ||
--- | ||
|
||
## Preface | ||
|
||
Pactus is designed for low traffic usage. | ||
However, some users still face bandwidth limitations imposed by their Internet Service Providers (ISPs). | ||
This guide will explore effective ways to reduce networking usage for a Pactus node. | ||
|
||
### Reducing the number of connection | ||
|
||
By default, Pactus attempts to maintain 64 open connections with other nodes, | ||
split into 32 inbound and 32 outbound connections. | ||
To reduce networking usage, you can decrease this maximum number of connections. | ||
However, it's important to remember that more connections with | ||
peers usually enable the node to function more effectively and securely. | ||
The `max_connections` setting in the config file can be adjusted to manage the maximum number of connections. | ||
|
||
### Disabling Relay | ||
|
||
A relay connection is a type of connection that can be established between two peers, | ||
usually behind a NAT, by a third-party peer known as a relay. | ||
This is especially helpful when users run Pactus on a private network like home internet. | ||
However, the relay connection is not as stable as a direct connection. | ||
Disabling the relay connection may reduce network usage. | ||
If you have a reliable and public IP address, you can disable the relay connection. | ||
The relay connection is enabled by default. To disable the relay connection, | ||
set `enable_relay` to `false` inside the config file. | ||
|
||
### Disabling Node-Network service | ||
|
||
A node-network is a type of node that provides historical data, such as blocks, | ||
to other nodes so they can sync with the network. | ||
By default, this service is enabled. | ||
Disabling this service helps reduce traffic usage. | ||
Keep in mind that new nodes rely on other nodes to be able to sync. | ||
To disable the node-network service, set `node_network` to `false`. | ||
|
||
### Disabling Node-Gossip service | ||
|
||
The node-gossip is a type of node that helps the network by broadcasting data | ||
such as transactions and consensus votes. | ||
By default, this service is disabled. If you enable this service, | ||
the network usage of your node will increase. |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
layout: guide | ||
title: dict.guide.reduce_network | ||
--- | ||
|
||
# {% t dict.guide.reduce_network %} | ||
|
||
{% translate_with_version user-guides/reduce-network/index.md 1 %} |