XRPLF / rippled

Decentralized cryptocurrency blockchain daemon implementing the XRP Ledger protocol in C++
https://xrpl.org
ISC License
4.52k stars 1.47k forks source link

Document reduce-relay features and decide whether more experimentation is needed #4652

Open intelliot opened 1 year ago

intelliot commented 1 year ago

Summary

There are reduce-relay features which are currently considered experimental.

https://github.com/XRPLF/rippled/blob/aded4a7a925a5822522e6bbbb4adfd3fec39257b/src/ripple/core/Config.h#L250-L277

Motivation

Bandwidth savings and network efficiency, and reduce CPU usage since fewer messages are sent. Possible overall performance improvement.

Solution

Reduce redundant/unnecessary relay of messages

Paths Not Taken

?

gregtatcam commented 1 year ago

There is zero adaption of this features by the servers. Perhaps we should keep it experimental and not documented until more tests are done.

ximinez commented 1 year ago

There is zero adaption of this features by the servers. Perhaps we should keep it experimental and not documented until more tests are done.

OTOH, documenting it might help increase adoption, letting more people test. If there are problems, testing live will surely find them quickly, letting folks report them. They can always turn it back off if there are significant problems.

gregtatcam commented 1 year ago

OTOH, documenting it might help increase adoption, letting more people test. If there are problems, testing live will surely find them quickly, letting folks report them. They can always turn it back off if there are significant problems.

I'm just thinking that it might make sense to spend a couple of weeks replicating some tests that I've ran before and see if the main premise of saving on the bandwidth and not having any degradation due to reduce message flooding still holds. These features were added over two years ago.