Not seeing expected improvement in throughput of RaftCluster.ReplicateAsync method when cluster minority is inaccessible #231
Closed
LarsWithCA
started this conversation in
General
Replies: 3 comments 2 replies
-
I'll check this out. |
Beta Was this translation helpful? Give feedback.
0 replies
-
For now, appended log entries are marked as committed when replicated to the majority. |
Beta Was this translation helpful? Give feedback.
2 replies
-
Fixed in version 5.5.0 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello there!
This plots shows the timing (in ms) of RaftCluster.ReplicateAsync - at the vertical green line 1 node is disconnected (out of a cluster of 6 nodes in total):
![image](https://private-user-images.githubusercontent.com/132266664/321924226-834cf408-02d4-4dc9-bfa6-ea7e6d880bdb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg5NDQyNDUsIm5iZiI6MTcxODk0Mzk0NSwicGF0aCI6Ii8xMzIyNjY2NjQvMzIxOTI0MjI2LTgzNGNmNDA4LTAyZDQtNGRjOS1iZmE2LWVhN2U2ZDg4MGJkYi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjIxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYyMVQwNDI1NDVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yNTdkYjg2MGUxYTU0NmI2ZDM2MTFhM2VhZDA3ODE3MjZhOWU4ZWJhOTM4YWVjNTE0NDRhOTc4MGFlZWRiZWIxJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.tYYXEuvIYXu7IAYJATsSQvLorL8pU9sAdf3VWKN2zH0)
(Linux ARM + .NET6 + DotNext.Net.Cluster 4.14.1)
From the change log of DotNext.Net.Cluster 4.15.0:
This made us hope that we would no longer see these kinds of longer timings in case of inaccessible cluster minority. However, we see a pretty similar plot - at the green line 1 node is disconnected (out of a cluster of 6 nodes):
![image](https://private-user-images.githubusercontent.com/132266664/321926165-551ce738-23ae-4a9a-b703-375777764236.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg5NDQyNDUsIm5iZiI6MTcxODk0Mzk0NSwicGF0aCI6Ii8xMzIyNjY2NjQvMzIxOTI2MTY1LTU1MWNlNzM4LTIzYWUtNGE5YS1iNzAzLTM3NTc3Nzc2NDIzNi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjIxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYyMVQwNDI1NDVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jM2Q3M2QyYTU0NDc3NzIxMDY5ZTFiNzBjZjRlODQwNDAyY2YzOGZjMjM5MjI2OTJlOGVkZWI1MDUyZmI2ODg4JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.Ovx8J3uhdGYEaSPY__RfoAVK_F_3lXJj9Xaw_5c1Nec)
(Linux ARM + .NET8 + DotNext.Net.Cluster 5.3.0)
Did we have wrong expectations, or are we doing something wrong?
Beta Was this translation helpful? Give feedback.
All reactions