-
Notifications
You must be signed in to change notification settings - Fork 23
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
RFP for cluster test environment #4
Comments
We should specify what we want to test on the cluster. I'm imagining a Kubernetes-based system that will spin up 1,000 (for example) libp2p processes[*], but then what does it do with them next? Ideas would be:
The author of the RFP can recommend a specific testing framework, but it's on us to say what we want tested and how we define "success." [*] Is this RFP blocked on daemonization of libp2p? |
We should incorporate a plan for testing js-libp2p. This could involve spinning up some VMs with Firefox in them, or it could be a test harness that wraps js-libp2p as a daemon, etc. |
Ideally Rust would be tested also, but I don't see that as an MVP goal. Thoughts? |
For the JS side, we could probably get away with a headless browser. I'm kind of envisioning some sort of testing daemon that receives a protobuf message that dictates the scenario they should carry out (i.e. attempt to connect to peer by this address) and they then execute it and log the result. |
@florianlenz Saw your note about testing framework that @Stebalien linked to this issue from. Any interest in helping us design the testing framework? I think there are three parts:
There is opportunity to help in all three areas. |
Hi.
Yes!
Thats a good question. So I guess the standard things (bandwidth used, etc). But also protocol specific things. I am e.g. implementing quasar which is a pub sub protocol and I would like to see how it behaves in a network of 30k, 60k, 90K people (and even more). I would for also like to test how useful the message routing is, if a portion of the network is not behaving it's supposed to. Specially the ability to model a network that doesn't behave as it is supposed to is of value from my point of view.
Kubernetes sounds good. I guess a visual result of the test would be very nice. I am not entirely sure how that would look like / can be build. I have to think about it.
I could work on this 4 - 10 hours peer week. I can also free resources from the project I am working on to work on this as soon as we have the specs. |
A potential problem with Kubernetes is the lack of OSX support. Generally we want to test across all supported operating system - Linux, Windows, and OSX - Kubernetes will only work with Windows and Linux. I believe the same is true for Docker Swarm.
The Opentracing API (specifically opentracing-go) was recently added to go-log. This allows all packages that use |
@bigs @mgoelzer Is this still an open issue / something that we're looking to do? |
@jsoares i'm actually working on this in house with vasco and jacob, so i think we can close this perhpas |
@bigs Thought so, thanks for the feedback! We can always re-open at any point if you feel the need to outsource it. |
Wanted to start a conversation to make sure @jbenet, @mgoelzer, and I are all on the same page (all encouraged to contribute!) Still very early days of specification/wish list definition.
Rough Wish List
@jbenet would love some additional thoughts!
The text was updated successfully, but these errors were encountered: