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

major stress tests to run prior to releases #2343

Closed
jbenet opened this issue Feb 15, 2016 · 3 comments
Closed

major stress tests to run prior to releases #2343

jbenet opened this issue Feb 15, 2016 · 3 comments
Labels
kind/test Testing work

Comments

@jbenet
Copy link
Member

jbenet commented Feb 15, 2016

(this summarizes some prior discussions)

Concretely, we need large workload tests:

  • that exercise an ipfs node to a major extent
  • that interleave sequences of operations and full integrity checks (pin set, content is correct, through a gc)
  • that involve adding lots of content -- from all possible entry points, {add, files, object}
  • that add and remove pins, and run gc
  • that should stress with many GB of content (i'd shoot for a test that can scale with a parameter in GB),
  • that involve millions of objects, thousands of pins, and thousands of ops (maybe these should all be parameters to the test too)
  • that issue concurrent operations through the api (ipfs should be able to handle these just fine, whether they apply concurrently or serially, the api should work with requests made all at once)
@jbenet
Copy link
Member Author

jbenet commented Feb 22, 2016

we need:

  • operation specification
  • a thing that generates a sequence of N ops randomly based on an input randomness seed
  • a thing that -- given the sequence -- issues all ops to ipfs (using ipfs cli or api endpoint)
  • a thing that -- given the sequence -- can then check the ipfs node state (using the api)
  • a thing that -- given the sequence -- can then check the ipfs repo state (directly in the fs)
  • a runner that puts it all together
  • being able to bisect out problems

@dignifiedquire
Copy link
Member

Rough prototype in JS using the api: https://github.com/dignifiedquire/randor

@Jorropo
Copy link
Contributor

Jorropo commented Jul 27, 2023

We now do this with https://github.com/ipfs-shipyard/thunderdome, it mirrors ipfs.io's traffic.

@Jorropo Jorropo closed this as completed Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/test Testing work
Projects
None yet
Development

No branches or pull requests

3 participants