habitat-sh / habitat

Modern applications with built-in automation
https://www.habitat.sh
Apache License 2.0
2.59k stars 316 forks source link

SWIM: Tunable protocol period #5568

Open baumanj opened 5 years ago

baumanj commented 5 years ago

Since the relationship between protocol period and connection latencies is vital to achieving the properties described in the SWIM paper, a facility for tuning the protocol period after compilation would be useful. #5975 describes how we should make this tunable at runtime.

If we determine that dynamic changes during runtime are necessary, we should implement a self-tuning value. The runtime could determine what the threshold should be based on the size of the mesh network and the latencies it's experiencing.

baumanj commented 5 years ago

The worst-case message round-trip time (how long the algorithm waits for ack messages) should probably also be made tunable as part of this work.

christophermaier commented 5 years ago

An environment variable-based approach will be trivial with our EnvConfig abstraction.

Dynamic self-tuning is left as an exercise for the reader 😄

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you.