Skip to content

feat(backend): batch outgoing payments in worker jobs#3950

Draft
njlie wants to merge 15 commits into
mainfrom
nl/batching-workers
Draft

feat(backend): batch outgoing payments in worker jobs#3950
njlie wants to merge 15 commits into
mainfrom
nl/batching-workers

Conversation

@njlie

@njlie njlie commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Changes proposed in this pull request

Context

Checklist

  • Related issues linked using fixes #number
  • Tests added/updated
  • Make sure that all checks pass
  • Bruno collection updated (if necessary)
  • Documentation issue created with user-docs label (if necessary)
  • OpenAPI specs updated (if necessary)

@netlify

netlify Bot commented Jul 13, 2026

Copy link
Copy Markdown

Deploy Preview for brilliant-pasca-3e80ec canceled.

Name Link
🔨 Latest commit 205ece4
🔍 Latest deploy log https://app.netlify.com/projects/brilliant-pasca-3e80ec/deploys/6a575e57c1c5020008eff149

@github-actions github-actions Bot added type: tests Testing related pkg: backend Changes in the backend package. type: source Changes business logic labels Jul 13, 2026
@github-actions

github-actions Bot commented Jul 13, 2026

Copy link
Copy Markdown

🚀 Performance Test Results

Test Configuration:

  • VUs: 4
  • Duration: 1m0s

Test Metrics:

  • Requests/s: 42.04
  • Iterations/s: 10.53
  • Failed Requests: 0.00% (0 of 2531)
📜 Logs

> performance@1.0.0 run-tests:testenv /home/runner/work/rafiki/rafiki/test/performance
> ./scripts/run-tests.sh -e test -k -q --vus 4 --duration 1m

Cloud Nine GraphQL API is up: http://localhost:3101/graphql
Cloud Nine Wallet Address is up: http://localhost:3100/
Happy Life Bank Address is up: http://localhost:4100/
cloud-nine-wallet-test-backend already set
cloud-nine-wallet-test-auth already set
happy-life-bank-test-backend already set
happy-life-bank-test-auth already set
     data_received..................: 877 kB 15 kB/s
     data_sent......................: 1.9 MB 32 kB/s
     http_req_blocked...............: avg=7.5µs    min=1.56µs   med=4.96µs   max=1.03ms   p(90)=6.22µs   p(95)=6.83µs  
     http_req_connecting............: avg=1.35µs   min=0s       med=0s       max=997.98µs p(90)=0s       p(95)=0s      
     http_req_duration..............: avg=94.49ms  min=7.41ms   med=67.82ms  max=515.6ms  p(90)=198.04ms p(95)=247.25ms
       { expected_response:true }...: avg=94.49ms  min=7.41ms   med=67.82ms  max=515.6ms  p(90)=198.04ms p(95)=247.25ms
     http_req_failed................: 0.00%  ✓ 0         ✗ 2531
     http_req_receiving.............: avg=90.57µs  min=18.46µs  med=78.58µs  max=3.59ms   p(90)=116.67µs p(95)=152.82µs
     http_req_sending...............: avg=34.5µs   min=7.89µs   med=24.1µs   max=1.36ms   p(90)=42.68µs  p(95)=65.86µs 
     http_req_tls_handshaking.......: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting...............: avg=94.36ms  min=7.25ms   med=67.71ms  max=515.51ms p(90)=197.9ms  p(95)=247.14ms
     http_reqs......................: 2531   42.04318/s
     iteration_duration.............: avg=379.43ms min=192.99ms med=361.39ms max=1.03s    p(90)=511.51ms p(95)=590.2ms 
     iterations.....................: 634    10.531559/s
     vus............................: 4      min=4       max=4 
     vus_max........................: 4      min=4       max=4 

@njlie
njlie force-pushed the nl/batching-workers branch from 8e078f5 to 205ece4 Compare July 15, 2026 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pkg: backend Changes in the backend package. type: source Changes business logic type: tests Testing related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant