MCPcopy Index your code
hub / github.com/arriven/db1000n

github.com/arriven/db1000n @v0.9.23

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.9.23 ↗ · + Follow
288 symbols 748 edges 48 files 123 documented · 43%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Death by 1000 needles

See Docs

Made in Ukraine

This is a simple distributed load generation tool written in Go. It is able to fetch a simple JSON config from a local or remote location. The config describes which load generation jobs should be launched in parallel. There are other existing tools doing the same kind of job. I do not intend to copy or replace them but rather provide a simple open source alternative so that users have more options. Feel free to use it in your load tests (wink-wink).

The software is provided as is under no guarantee. I will update both the repository and this documentation as I go during following days (date of writing this is 26th of February 2022, third day of Russian invasion into Ukraine).

Extension points exported contracts — how you extend this code

Reporter (Interface)
Reporter gathers metrics across jobs and reports them. Concurrency-safe. [2 implementers]
src/utils/metrics/reporter.go
Connection (Interface)
(no doc) [2 implementers]
src/core/packetgen/connection.go
Config (Interface)
(no doc) [1 implementers]
src/job/base.go
ProxyFunc (FuncType)
(no doc)
src/utils/proxy.go
Client (Interface)
(no doc) [1 implementers]
src/core/http/http.go

Core symbols most depended-on inside this repo

Decode
called by 20
src/utils/utils.go
Inc
called by 19
src/utils/metrics/accumulator.go
NonNilOrDefault
called by 17
src/utils/utils.go
GetEnvStringDefault
called by 13
src/utils/utils.go
ParseAndExecute
called by 12
src/utils/templates/templates.go
GetEnvBoolDefault
called by 10
src/utils/utils.go
ParseConfig
called by 10
src/job/base.go
Add
called by 9
src/utils/metrics/accumulator.go

Shape

Function 179
Method 53
Struct 45
TypeAlias 5
Interface 4
FuncType 2

Languages

Go100%

Modules by API surface

src/utils/templates/templates.go15 symbols
src/core/packetgen/connection.go14 symbols
src/utils/templates/network.go13 symbols
src/job/base.go13 symbols
src/utils/utils.go12 symbols
src/utils/templates/math.go12 symbols
src/utils/metrics/prometheus.go12 symbols
src/job/packetgen.go12 symbols
src/utils/metrics/reporter.go10 symbols
src/job/utils.go10 symbols
src/job/http.go10 symbols
src/core/http/http.go10 symbols

For agents

$ claude mcp add db1000n \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact