-
Notifications
You must be signed in to change notification settings - Fork 3
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
Shorten Spark rounds to 20 minutes #50
Comments
Updated the live contract |
There are two more parameters we need to review and tweak after changing the round length:
I decided to keep these values unchanged.
While 5m req/hour may seem high, the clients randomly choose one of 4000 CIDs to test, which means our network sends 0.34 req/sec/CID. |
This seems high. So in 3 seconds we will have tested the entire CID set? |
Sorry, now I see how my description is confusing. We pick 4000 CIDs to test each round. Let's say you are a big SP with many deals and 100 of the CIDs you store end up on that list of 4000 CIDs.
32 req/sec seems high, but if our random selection picks 100 of your CIDs for our list of 4000 CIDs, then it means you have 100/4000=2.5% of FIL+ LDN storage deals. Anyhow, I don't have a strong opinion here. If you think we are making too many requests, then I am happy to tweak the parameters to reduce that number. What would be a reasonable target? |
I don't have an informed opinion here. I'm happy to wait until someone complains, if that ever happens. Do you have a number how many req/sec the average storage provider will be receiving? |
👍🏻
We are not tracking this information right now. We don't have SP<->retrieval association yet. But maybe we can use |
That would be useful to know yes! |
Created CheckerNetwork/roadmap#64 and added it to M4.2. |
So, there is another constant affecting the load - APPROX_ROUND_LENGTH_IN_MS in Spark Checker source code. Because we kept it unchanged, the checker nodes used the same delay delay between tasks as before. I opened a PR to change that constant to match the actual round length: |
setNextRoundLength(40)
setRoundReward(0.4566210046)
The text was updated successfully, but these errors were encountered: