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
Account estimation is done by looking at the current balance and net flowrate, allowing to predict the point in the future when it will run out of funds if its state doesn't change.
GDA flows are currently handled by making pessimistic estimations, looking only at the outflows (flowDistribution).
In case of accounts also having incoming GDA flows (being pool members) this can lead to those accounts often being re-queued into the estimation queue. Since re-estimation triggers an RPC requests, this modestly increases the number of RPC requests.
Once GDA gets high adoption, we can optimize this by looking at more GDA related events and adding the necessary logic to allow using looking at the GDA net flowrate (instead of just out flowrate) for less pessimistic estimations.
This requires keeping track of
all pools created
all distributions and flow distributions to pools
all member unit changes
This optimization needs to be implemented with care, such that changes related to pools with a very big number of members can't stall the process.
The text was updated successfully, but these errors were encountered:
Account estimation is done by looking at the current balance and net flowrate, allowing to predict the point in the future when it will run out of funds if its state doesn't change.
GDA flows are currently handled by making pessimistic estimations, looking only at the outflows (flowDistribution).
In case of accounts also having incoming GDA flows (being pool members) this can lead to those accounts often being re-queued into the estimation queue. Since re-estimation triggers an RPC requests, this modestly increases the number of RPC requests.
Once GDA gets high adoption, we can optimize this by looking at more GDA related events and adding the necessary logic to allow using looking at the GDA net flowrate (instead of just out flowrate) for less pessimistic estimations.
This requires keeping track of
This optimization needs to be implemented with care, such that changes related to pools with a very big number of members can't stall the process.
The text was updated successfully, but these errors were encountered: