Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smarter distribution of work #45

Open
guilhermelawless opened this issue Mar 7, 2019 · 0 comments
Open

Smarter distribution of work #45

guilhermelawless opened this issue Mar 7, 2019 · 0 comments

Comments

@guilhermelawless
Copy link
Contributor

Some enhancements I've been thinking about, with comments and questions for each point:

  1. Track the distribution of response times for each client. One question is how to keep this history when a client disconnects, because they are only identified by account (other clients can use it) and their IP (which can change). This relates to the next point...
  2. Rank the clients by their response times. Newly connected clients should be treated as "low rank".
  3. When sending out work, give it to enough clients such that the expected time is X (example: 1 second for urgent work, 30 seconds for precache work). This will also change with the Dynamic PoW
  4. Send a message to precache clients when work is no longer needed as it has been completed by another client. This is only needed for clients that usually take a long time to do work. Consider not increasing the work count by 1, maybe by 0.5 in this case, or a new column "incomplete work" which is also rewarded?

Point 4 would need a rework of https://github.com/jamescoxon/nano_distributed_pow_client

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant