Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jgantunes/pulsarcast-test-harness
A test harness for Pulsarcast using ipfs-testbed
https://github.com/jgantunes/pulsarcast-test-harness
decentralized ipfs-testbed p2p pubsub pulsarcast test-harness
Last synced: 5 days ago
JSON representation
A test harness for Pulsarcast using ipfs-testbed
- Host: GitHub
- URL: https://github.com/jgantunes/pulsarcast-test-harness
- Owner: JGAntunes
- License: mit
- Created: 2018-02-20T21:16:11.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T06:54:50.000Z (about 2 years ago)
- Last Synced: 2024-10-06T04:01:37.419Z (3 months ago)
- Topics: decentralized, ipfs-testbed, p2p, pubsub, pulsarcast, test-harness
- Language: JavaScript
- Homepage:
- Size: 19.4 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pulsarcast Test Harness
A test harness for [Pulsarcast](https://github.com/JGAntunes/pulsarcast) to be used with [IPFS Testbed](https://github.com/JGAntunes/ipfs-testbed) and [IPFS Testbed Cli](https://github.com/JGAntunes/ipfs-testbed-cli)
This repository consists of a CLI tool that processes datasets and generates valid output to be used in the IPFS Testbed.
## Requirements
- `nodejs` `>=8` in order to use the cli
- A dataset supported by our tool, currently we support:
- [Reddit comments dataset](https://www.reddit.com/r/datasets/comments/3bxlg7/i_have_every_publicly_available_reddit_comment/)## Install
```
npm install
```Or skip the install step entirely and just use npx
```
npx -p pulsarcast-test-harness pulsar-test
```## CLI Usage
```
$> pulsar-test run reddit-comments --help
bin.js run reddit-commentsrun the reddit comments dataset
Positionals:
path path to the dataset file [string] [required]Options:
--version Show version number [boolean]
-h, --help Show help [boolean]
--resize resize the number of users to a specific value [number]
--remove-deleted remove the deleted users (without id)
[boolean] [default: true]
```Using together with `ipt`:
```
pulsar-test run reddit-comments --resize 100 > ipt exec pulsarcast load
```## Results
The test runs executed for the purpose of my [M.Sc. Thesis](https://github.com/JGAntunes/pulsarcast) are stored in [results](./results). The data extracted from the IPFS Testbed has been processed into a set of spreadsheets which are available [here](https://docs.google.com/spreadsheets/d/1Fv0KtURIAPX0SOjlF1yqEz6B7Pyh_myhARlVV5rRi9s/edit?usp=sharing).
## Acknowledgements
A very special thank you to Microsoft Azure (and specially [@palma21](https://github.com/palma21)) for supporting our executions.
## License
MIT