copenhagenatomics / dotNext

Next generation API for .NET
https://dotnet.github.io/dotNext/
MIT License
0 stars 0 forks source link

performance improvement: avoid slow down when 1 node disconnects #4

Closed freddyrios closed 2 years ago

freddyrios commented 2 years ago

This was tested with the big struct example with fast writes rebased on the latest develop branch (25th of jan).

The test involved removing the ethernet cable to one of the nodes and seeing the impact on cluster speed to process 1k entries. In the test it went from 1k entries in 2 seconds to 18 seconds (and remained that way).

sakno commented 2 years ago

ConnectTimeout added back to the configuration. Now it can be used to reduce the impact caused by disconnected node.

freddyrios commented 2 years ago

confirmed fixed by testing it with 5 ms connection timeouts.