Skip to content
This repository has been archived by the owner on Apr 16, 2020. It is now read-only.

Mountable repository archives for testing and benchmarking #83

Open
andrew opened this issue Jul 26, 2019 · 1 comment
Open

Mountable repository archives for testing and benchmarking #83

andrew opened this issue Jul 26, 2019 · 1 comment

Comments

@andrew
Copy link
Collaborator

andrew commented Jul 26, 2019

We have a need to test and benchmark various ipfs functions against real world, file system based package repositories that can reach significant sizes, greater than 1TB in some cases.

We could simply rsync down copies of these repositories from nearby mirrors on every run but that could add up to 3 hours to a test run, costing extra bandwidth and load on community-ran mirrors.

Instead what I'd like to propose is that we set up a system that would allow us to download and keep a copy of each of our test case repositories and be able to mount them as a file system within a server (or container) that is actually running the test/benchmark.

If we're using AWS, that could be mounting an EBS or EFS, or if we're using something else, we can do regular network mounts, as long as the boxes are in the same data center I don't think it'll cause bottlenecks.

I'd guess we'd want to keep the repositories read-only, and not keep them up to date with the upstream repositories, so we can repeat tests with exactly the same contents each time.

Along side this, having some way of easily running a test/benchmark on AWS with a given repository mounted in it will mean that developers can push a branch to GitHub and kick off a test run without needing to download and keep copies of these huge directories themselves.

cc @ipfs/wg-infrastructure

@hsanjuan
Copy link
Member

Maybe a first step is to automate the creation of such image with packer..

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants