-
Notifications
You must be signed in to change notification settings - Fork 452
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
Trustchain scalability and stess testing experiment #4140
Comments
Please assign me to this task |
This comment has been minimized.
This comment has been minimized.
Latest numbers: 1 million peers databases, 10 trustchain records per peer and 21 KByte per Trustchain record = 210 GByte. Move it to Gumby+Jenkins possibly, see existing trustchain crawler? |
We can now try our stress testing and scalability on DAS5 and Jenkins. For example, 9 peers sending 100 blocks per sec to one peer(let's say leader node). |
Cool! |
#4471 Overlap. |
Storing Trustchain records is rational and incentive compatible: prevent being defrauded by malicious actors. |
Update....We need performance understanding, "fault attribution", and "fault resolution". Fault is a neutral term which covers both malicious and non-malicious (e.g. Byzantine failure) violations of the protocol, possibly resulting in double spending. fault attribution : presenting evidence that could be used to umambiguously convince any observer which actor caused the protocol fault |
I already have some experiments around extensive double-spend detection, which shows that if everyone crawls the network and requests chains of others, even a single double-spend can be detected within seconds. I included this graph in the (rejected) workshop submission of the market paper. The experiment should still be around on Github. |
Trustchain has been removed and, therefore, this issue is no longer relevant. |
Having a Trustchain database with infinite growth is a problem.
task: build a Trustchain block collector and automatic generator
Trustchain is becoming a key performance bottleneck, as our network is growing to 20k concurrent users. We are experiencing the limits of our performance. Overlap with prior issue: #3861
Solution: dedicated experiment with 1 real full Tribler instance and an emulated "mocked" network of thousands or even over a million peers. All communication with the network will result in a response from a single generator that generates IPv8-based and Trustchain-compliant return traffic. The generator of an infinite amount of faked Trustchain records is then used for performance analysis. These Trustchain records have valid binary content, but the data is fake. The Tribler Trustchain community can be tested and we will able to conduct a performance analysis.
Desired outcome Repeatable performance numbers for a nightly job and performance regression analysis. For instance, after collecting 1 million Trustchain records the read performance for a random Trustchain lookup becomes 500 ms and writing a newly discovered Trustchain record becomes 300 ms.
Background reading: thesis using the same technique plus .PDF file
Source code
The text was updated successfully, but these errors were encountered: