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
Agree. Let's think about it in separate issue. I thought about combining expectations and dynamic feedback to nodesGenerator()
User expects 5 items so nodesGenerator() generate exactly 5 node versions (I will call it jobs) into the channel
In no request's failing, then it is optimal solution
If some requests fail we should update strategy by giving feedback to nodesGenerator():
3.1) Re-request the same object in the same go-routine without feedback
3.2) Produce feedback so nodesGenerator() will produce one more job to do.
This solution might slower than current implementation in case of network fails. However it should be robust and consistent when network is healthy. I think it is more important.
Agree. Let's think about it in separate issue. I thought about combining expectations and dynamic feedback to
nodesGenerator()
nodesGenerator()
generate exactly 5 node versions (I will call it jobs) into the channelnodesGenerator()
:3.1) Re-request the same object in the same go-routine without feedback
3.2) Produce feedback so
nodesGenerator()
will produce one more job to do.This solution might slower than current implementation in case of network fails. However it should be robust and consistent when network is healthy. I think it is more important.
Originally posted by @alexvanin in #622 (comment)
The text was updated successfully, but these errors were encountered: