Open en0ma opened 2 years ago
Just opening up some discussions here.
Some ideas:
BucketQueue
for the ContentManager. We pre-assign buckets in range of sizes (this sorts it by request size). Each bucket will then have a priority queue to calculate the "fairness" in the context of that bucket only. This includes deal making, and miner selection.@whyrusleeping @alvin-reyes @en0ma Do we want to have a meeting to discuss if we should work on this?
Not sure where this will lead, but I think we need to start looking is fair usage per user accounts. Some users are heavy users and flood the system for smaller users.
I noticed this because I uploaded a small file and it took so much time before it shows up in the staging area - the
toCheck
queue is probably occupied. I am hoping the issue will be a start for us to discuss how to improve UX by managing resources fairly amongst users.So far I can think of certain places where UX is not so good due to no fair scheduling;
tocheck
queue can be flooded by heavy usersTo improve the above issues, we need to;
tocheck