Too many peers

Hi folks, one of my relays has over 50 peers incoming. topology updates is set to 10 right now. For example, I see a number of incoming quadruplets like 192.53.114.234 Singapore, SG. Four of those …. 11 incoming from Helsinki, and others. The ports are different and 30,000 to 50,000.

Thanks

hi,

inside topology update file you will set the number of OUT peers, not IN.
I see now 119 IN peers on my Relay but I don’t see issues with the performance of the node

Cheers,

1 Like

I don’t think there is much you can do about the number of incoming peers. This is determined by other relays configuring your node as a peer. So they connect to you. You could firewall particular IP addresses but this will only make your relay less connected to the rest of the Cardano network.

Remember that Cardano connections are currently half-duplex (non P2P mode) so your blocks are propagated by other relays pulling blocks from your relay. You can’t push out your blocks. You need these incoming peers to propagate your blocks.

As @Alexd1985 said, I don’t think having more incoming peers will affect your performance because I believe your node will only offer blocks to these peers as and when it has time to do so. Cardano has its own bespoke networking protocol that has been designed with such considerations in mind.

2 Likes

To reply to Alex, there is no performance issue that I am aware of … Just a lot of incoming peers …

Thanks Again

2 Likes