Open hannahhoward opened 1 year ago
To enable bitswap load testing, let's setup K6 to execute bitswap requests via a javascript plugin
Docs on plugin writing: https://k6.io/docs/extensions/get-started/create/javascript-extensions/#advanced-module-api
HTTP plugin source code: https://github.com/grafana/k6/tree/master/js/modules/k6/http
DAG Walking, for now
We can write a script that fetches a Bitswap Block
What
To enable bitswap load testing, let's setup K6 to execute bitswap requests via a javascript plugin
Docs on plugin writing: https://k6.io/docs/extensions/get-started/create/javascript-extensions/#advanced-module-api
HTTP plugin source code: https://github.com/grafana/k6/tree/master/js/modules/k6/http
Suggested Implementation
Out of scope
DAG Walking, for now
Acceptance criteria
We can write a script that fetches a Bitswap Block