-
Notifications
You must be signed in to change notification settings - Fork 8
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
Catch up summary 2018-11-21 #16
Comments
You can specify the Note that you might want to use this module for spawning nodes https://github.com/ipfs/js-ipfsd-ctl which might come in useful when we start benchmarking against a Go IPFS daemon. In the catch up we spoke about whether the node initialization time should be part of the benchmarking tests and we decided it should not. Can we add a simple initialization speed benchmark for js/go? |
@alanshaw can you please verify if the info in https://github.com/ipfs/benchmarks#run-tests-locally is sufficient for you to run things locally? |
Is a key of length 512 secure enough? I think the current recommendation is 2048 for RSA. If it is safe, why is not the default? What are the practical limitations of using a pre-generated key in real-world applications? I don't think a user could pre-generate a key, or that could be generated and downloaded from somewhere else, right? |
just a thought; can't you generate the key as part of |
2048 is the default - 512 is not secure enough. In the future we need to restrict the
I'm not 100% sure I understand the question. I suggested these methods as potential solutions for initialising nodes in the benchmarking tests to avoid a long initialization time. I'm not recommending them as best practice for building real-world apps.
I like this idea! It could potentially work if a user is installing |
Effective benchmarks reflect real-world usage. Removing the key generation unblocks us for discovering other issues, but the problem remains. I would like to avoid a case where we generate data that is not valuable because it does not reflect real-world usage. |
Of course! As I understood it, the data for the current benchmarks is only being recorded after a node was initialized, started and ready. Do you think that if we passed a 2048 bit pregenerated key it will be close enough to real-world usage when the benchmarks begin? I think yes, it would be good enough for the time being, and we can make the switch when the real issue is addressed. This is totally optional - if the initialization time isn't getting in your way then we can just leave it as it is for now and the overall time it takes to run the benchmarks will just get super fast when the real issue is resolved. I didn't mean to imply that the problem should not be fixed! We do want to address it, the Node.js solution you identified is being tracked here libp2p/js-libp2p-crypto#130. If you'd like to work on that issue then that would be very awesome. As I suggested above it would be great to have a benchmark for initialization so we can see this perf improvement when it happens! |
I think all of what is described here on our side has been done.
is this ok @alanshaw?
Can you please test and verify? |
Closing as it all happened. |
Apologies I wanted to get this done yesterday. Hopefully this captures our conversation:
Summary
@Elexy gave a presentation demoing the current setup. 3 basic benchmark tests currently.
Infrastructure requirements were ironed out with @eefahy. See conversation here ipfs/infra#452 (comment) for details.
@mcollina identified a perf issue for node initialization and documented here ipfs/js-ipfs#1727
Agreed a weekly catch up at the same time (Wednesday 15:00).
Action items
The text was updated successfully, but these errors were encountered: