Closed mudler closed 2 months ago
possibly this is for a v1 - we need to figure out if there is a worker selection criteria and if that's enough for a v0
If twitter account 429's the request will not be passed to the next worker. We probably need a new ticket for this thing. @mudler @teslashibe @restevens402
Introduce a mechanism for tracking and checking node capabilities to ensure work is only dispatched to nodes equipped to handle it. Limit the number of nodes that work is dispatched to. This will prevent unnecessary work dispatch and improve system efficiency. If a node hits request limits put it in timeout.
@mudler this is being worked on here: https://github.com/masa-finance/masa-oracle/pull/489
@mudler I moved this to done and added to 0.6.0
release
@mudler I moved this to done and added to
0.6.0
release
Shall we have a follow-up for potential improvements before closing? or are we considering the story completely closed with https://github.com/masa-finance/masa-oracle/pull/489 ? (moved in review as the PR isn't yet merged)
we are good with the solution provided with https://github.com/masa-finance/masa-oracle/pull/489 for now, however, we might need to get back to this by seeing more tests in the wild and probably when picking up #66
We have already an heuristic for selecting a worker in a distributed manner (see #11), however currently all the workers will receive the work request, and we have hundreds of workers for each of the request that the protocol has to fullfill.
This card is to optimize the heuristic to pick a worker for a specific request, or alternatively a subset of the workers. Theoretically, we can also let specify by API the number of workers that must be involved in the answer.
This card is a spike to understand what options we have and what's possible to achieve - especially to get a high level list of options that we can consider before starting implementation.
Acceptance criteria