Pre-Dev-Update Thread! Yay! :D

So I’ve woken up and am poking at this more. It’s looking like it is msg quantity that’s killing nodes here, and perhaps making us wildly inefficient.

@Southside try changing https://github.com/maidsafe/safe_network/blob/main/sn_client/src/api/client_builder.rs#L46 to 5. Locally the same 250s test ran a looot faster. And nodes seem happier too…

Here you have yesterday’s test on the left, this morning’s on the right. The difference was the suggestion above

The issue is we have a clear attack vector to gum up or bring down nodes… So we’ll still need something for nodes to manage too many reqs. I feel also that the msg send func may be calling serialize way to much (once per msg recipient), when we just need to update a few bytes in the msg header.

13 Likes