Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sebastiendan/ipfs-perfs

🏃 Web tool to observe and challenge the performances of the IPFS network
https://github.com/sebastiendan/ipfs-perfs

ipfs js-ipfs

Last synced: 3 days ago
JSON representation

🏃 Web tool to observe and challenge the performances of the IPFS network

Awesome Lists containing this project

README

        

# ipfs-perfs

A web app to observe and challenge the IPFS network performances

Screen Shot 2020-02-28 at 15 43 03

Screen Shot 2020-02-28 at 16 35 51

## Prerequisites

- NodeJS > 12

## Installation

```
$ git clone [email protected]:sebastiendan/ipfs-perfs.git
$ cd ipfs-perfs
$ npm install
$ npm run build && npm run start:prod
```

## Usage

- Open http://localhost:3333 in your browser
- Select a buffer size
- Click on the `Start` button

## 何これ?

`ipfs-perfs` leverages the Javascript IPFS client ([js-ipfs](https://github.com/ipfs/js-ipfs)) to test the performances of I/O operations over the IPFS network.

Starting the app (see [Installation](#installation)) spawns two concurrent IPFS local daemons (nodes) on your machine.

Starting a test through the UI (see [Usage](#usage)) will run the following synchronous sequence (it will iterate over it infinitely):

- Generate a unique Buffer of the requested size
- Make the first IPFS node add the Buffer to the network
- Make the second IPFS node get the Buffer from the network
- Capture execution times of both operations and plot them