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

Create bitswap Network for Testing #8

Closed
daviddias opened this issue May 5, 2016 · 4 comments
Closed

Create bitswap Network for Testing #8

daviddias opened this issue May 5, 2016 · 4 comments
Assignees

Comments

@daviddias
Copy link
Member

daviddias commented May 5, 2016

Fire N number of nodes and connect all of them together

@daviddias daviddias self-assigned this May 5, 2016
@dignifiedquire dignifiedquire added kind/support A question or request for support tests and removed kind/support A question or request for support labels May 5, 2016
@daviddias daviddias changed the title Create libp2p network for testing Create bitswap Network for Testing May 5, 2016
@dignifiedquire
Copy link
Member

dignifiedquire commented May 30, 2016

Pasting the notes from the etherpad. Later we should do also the same tests on full js-ipfs nodes, so that we account for every possibility

bitswap tests

  • script to spawn a node, given a config file, creates a random file every X seconds and prints the hash (so that it can be requested
  • spawn 1 node on the main thread with TCP
  • dial to the other down
  • fetch all of the blocks the other node outputs
  • spawn 5 nodes in separate process and repeat the above
  • spawn 10 nodes and ..
  • spawn 20 nodes
  • repeat the previous proc
  • note: measure time (avg, max and min) of fetching the block and memory usage in the beginning and end

timing data in different events

  • use logs (debug)

@dignifiedquire
Copy link
Member

In #17 there was a set of tests added that are skipped currently as we are seeing issues on CI with these. Need to figure out what's wrong and fix them.

@dignifiedquire
Copy link
Member

I have enabled them in #25, lets see if we can get them to pass.

@dignifiedquire
Copy link
Member

They run on CI now, only for 2 nodes, but it is something 😄

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

2 participants