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
Currently, Dialogue exposes different ways to construct clients (e.g. BalancedNodeSelectionStrategyChannel via ReloadingFactory, StickyEndpointChannels via StickyChannelFactory). However, each of these constructs and maintains independent BalancedScoreTrackers, making them not share useful information (e.g. "is this node down"). For example, if:
Horizon uses ReloadingFactory to make clients for normal query operations, with failover
Horizon uses StickyChannelFactory for view computations, since they're slower than normal timeouts and we want to make them polling/async
Horizon uses PerHostChannelFactory to perform writes (since writes must be forwarded to all mirrors), but still wants to know which nodes are obviously dead (to avoid unnecessary timeouts)
At present, none of these use cases would be able to share liveness/scoring information with each other, since they all maintain separate score trackers. This isn't ideal, since we can't assume a distribution of requests across the different client types which is in any way uniform.
The text was updated successfully, but these errors were encountered:
Currently, Dialogue exposes different ways to construct clients (e.g. BalancedNodeSelectionStrategyChannel via ReloadingFactory, StickyEndpointChannels via StickyChannelFactory). However, each of these constructs and maintains independent BalancedScoreTrackers, making them not share useful information (e.g. "is this node down"). For example, if:
At present, none of these use cases would be able to share liveness/scoring information with each other, since they all maintain separate score trackers. This isn't ideal, since we can't assume a distribution of requests across the different client types which is in any way uniform.
The text was updated successfully, but these errors were encountered: