You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is rebalancing an issue currently? A time based method seems more KISS, because it doesn't rely on the event loop and balance calls being as tightly coupled.
Currently Metafora rebalances every 15 minutes ±10 seconds.
The main loop serializes all events via ticks, so we could switch to rebalancing every
N
ticks.The theoretical advantage of tick-based balancing is that Metafora would only rebalance when the cluster's state actually changes.
Pros
Could reduce needless task juggling (or at least needless
Balance()
calls) in stable clusters.Cons
However, the following cluster events don't cause main loop events and therefore wouldn't trigger tick-based rebalancing:
We could handle those two events by:
ClusterEvent
command).The text was updated successfully, but these errors were encountered: