<p>Holding the state of a peer and handling its requests consumes resources. Mainly RAM, bandwidth and CPU. Each additional peer has a fixed cost for a node but a decreasing utility.</p>

CC BY-SA 4.0
2023-11-27T15:28:26.680Z
You could additionally mention that due to the limit on listening nodes there is also a limited amount of slots for other nodes to make inbound connections in the first place.
Murch
CC BY-SA 4.0
2023-11-27T15:32:26.480Z
I initially started writing something along these lines but figured it didn't answer the question which was rather about why is there a limit at all for those listening nodes, if i'm understanding correctly. But i don't mind adding it.
Antoine Poinsot
CC BY-SA 4.0
2023-11-27T13:31:49.107Z
2023-11-27T13:49:04.343Z
2023-11-27T13:49:04.343Z
Antoine Poinsot
<p>Why do nodes have a maximum peer count, in other words what could go wrong if each node is connected to all the nodes of the network?</p>

<network><nodes><peers><connection>
Why do nodes have a maximum peer count?
Noah Bergh
# Why do nodes have a maximum peer count?

(Asked by: username_0 on 2023-11-27)

Why do nodes have a maximum peer count, in other words what could go wrong if each node is connected to all the nodes of the network?

**Tags:** network, nodes, peers, connection


---

## 1 answers

### Answer by username_1 on 2023-11-27. Score: 2

Holding the state of a peer and handling its requests consumes resources. Mainly RAM, bandwidth and CPU. Each additional peer has a fixed cost for a node but a decreasing utility.

> **Comments:**
> **username_2**: You could additionally mention that due to the limit on listening nodes there is also a limited amount of slots for other nodes to make inbound connections in the first place.  
> **username_1**: I initially started writing something along these lines but figured it didn't answer the question which was rather about why is there a limit at all for those listening nodes, if i'm understanding correctly. But i don't mind adding it.  

---

