instrumented-simple-seeder

0.0.1-alpha.50 • Public • Published

Instrumented Simple Seeder

Simplifies deploying a simple-seeder with a seed list, and adds optional instrumentation.

Install

npm i -g instrumented-simple-seeder

Usage

Can be deployed as a Docker container.

Alternatively, from the CLI:

SEED_LIST_KEY=<SEED-LIST-KEY> instrumented-seeder

Debug Builds

Push a tag containing 'debug' to trigger a debug build, including repl-swarm and heapdump support:

git tag debug-memleak
git push origin debug-memleak

Create a directory where the heapsnapshots can be stored, and make it writable by all users (or chown it to the docker user).

Then run a command like

docker run --name qt --env INSTRUMENT=true --env SEEDER_HEAPDUMP_INTERVAL_MINUTES=60 SEEDER_SUPPORT_HEAPDUMPS=true --SEED_LIST_KEY=<...> --mount type=volume,source=qt-volume,destination=/home/seeder/store --mount type=bind,source=/home/hans/qt/heapdumps,destination=/tmp/heapdumps hdegroote/seeder:debug

(hourly heapdumps will be stored in /home/hans/qt/heapdumps in this example)

Dependencies (21)

Dev Dependencies (1)

Package Sidebar

Install

npm i instrumented-simple-seeder

Weekly Downloads

12

Version

0.0.1-alpha.50

License

Apache-2.0

Unpacked Size

42.9 kB

Total Files

14

Last publish

Collaborators

  • hdegroote