Skip to content

Conversation

@sai-kumar-peddireddy
Copy link
Collaborator

@sai-kumar-peddireddy sai-kumar-peddireddy commented Dec 3, 2025

Description

  • Add event-load test command to spawn a dedicated load test server
  • Implement mock auth and realistic PDFM VM event broadcasting (100 events/sec)
  • Register HealthService to support bidirectional ping/pong health checks
  • Add k6 script (loadtest/hub_load.js for capacity testing:
    • Subscribes to both pdfm and health events
    • Tracks latency, message loss, and throughput
    • Verifies bidirectional communication via periodic pings

Closes #333

Type of change

  • New feature (non-breaking change which adds functionality)

Checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have run tests that prove my fix is effective or that my feature works
  • I have updated the CHANGELOG.md file accordingly

@sai-kumar-peddireddy sai-kumar-peddireddy added this to the 1.0.0 milestone Dec 3, 2025
@sai-kumar-peddireddy sai-kumar-peddireddy self-assigned this Dec 3, 2025
@sai-kumar-peddireddy sai-kumar-peddireddy marked this pull request as ready for review December 3, 2025 14:17
@sai-kumar-peddireddy sai-kumar-peddireddy enabled auto-merge (squash) December 3, 2025 14:18
- Add `hub-load` test command to spawn a dedicated load test server
- Implement mock auth and realistic PDFM VM event broadcasting (100 events/sec)
- Register HealthService to support bidirectional ping/pong health checks
- Add k6 script [loadtest/hub_load.js](loadtest/hub_load.js) for capacity testing:
  - Subscribes to both `pdfm` and `health` events
  - Tracks latency, message loss, and throughput
  - Verifies bidirectional communication via periodic pings
@sai-kumar-peddireddy sai-kumar-peddireddy merged commit 93b5b7e into main Dec 4, 2025
15 checks passed
@sai-kumar-peddireddy sai-kumar-peddireddy deleted the event-load-tests branch December 4, 2025 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[PBI] Create and run Load Test for the new EventHub

3 participants