23 lines
673 B
Markdown
23 lines
673 B
Markdown
# GL load test
|
|
|
|
This command exercises the write and read paths of the gRPC ledger service.
|
|
Each simulated transaction:
|
|
|
|
1. appends a `CREATED` lifecycle event;
|
|
2. posts a balanced transfer between two generated user wallet accounts;
|
|
3. reads the committed journal;
|
|
4. rebuilds the receiving wallet balance;
|
|
5. appends a `SUCCESSFUL` lifecycle event.
|
|
|
|
Ledger accounts are created implicitly by `AppendJournal`; GL does not expose a
|
|
separate wallet-creation RPC.
|
|
|
|
Start GL, then run:
|
|
|
|
```bash
|
|
go run ./cmd/gl-loadtest -duration 30s -concurrency 20 -wallets 1000
|
|
```
|
|
|
|
Use a fresh `-run-id` for every dataset. The command generates one automatically
|
|
when the flag is omitted.
|