Skip to content

Conversation

@sai-kumar-peddireddy
Copy link
Collaborator

@sai-kumar-peddireddy sai-kumar-peddireddy commented Nov 6, 2025

Description

  • Implemented a new Event Monitor function in the current DevOps Parallels Desktop service.
  • This will read the output of the Event Monitor from prlctl and update the cached list of VMs depending on the state.
  • Now the whole ParallelsService uses event emitter to get real-time status of Vm's
  • Now in API/Orchestrator will have the real-time VM status
  • PARALLELS_DESKTOP_REFRESH_INTERVAL config is deprecated, vm status is always real-time

Fixes 315
Fixes 317

Type of change

  • Documentation Change
  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update
  • Updated packages

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

@boring-cyborg boring-cyborg bot added the test Tests label Nov 6, 2025
and introduced ProcessLauncher, MockProcessLauncher interface to deal with pty dependency
@boring-cyborg boring-cyborg bot added the documentation Improvements or additions to documentation label Nov 8, 2025
@sai-kumar-peddireddy
Copy link
Collaborator Author

k6 run loadtest/machines.js

     /\      Grafana   /‾‾/  
/\  /  \     |\  __   /  /   

/ / \ | |/ / / ‾‾\
/ \ | ( | (‾) |
/ __________ \ ||_\ ____/

 execution: local
    script: loadtest/machines.js
    output: -

 scenarios: (100.00%) 1 scenario, 50 max VUs, 11m0s max duration (incl. graceful stop):
          * contacts: Up to 500.00 iterations/s for 10m30s over 3 stages (maxVUs: 50, gracefulStop: 30s)

WARN[0012] Insufficient VUs, reached 50 active VUs and cannot initialize more executor=ramping-arrival-rate scenario=contacts

█ TOTAL RESULTS

checks_total.......: 201816  171.906201/s
checks_succeeded...: 100.00% 201816 out of 201816
checks_failed......: 0.00%   0 out of 201816

✓ success login

HTTP
http_req_duration..............: avg=121.91ms min=190µs    med=81.68ms  max=9m4s  p(90)=213.68ms p(95)=240.25ms
  { expected_response:true }...: avg=121.91ms min=190µs    med=81.68ms  max=9m4s  p(90)=213.68ms p(95)=240.25ms
http_req_failed................: 0.00%  0 out of 201816
http_reqs......................: 201816 171.906201/s

EXECUTION
dropped_iterations.............: 202842 172.780145/s
iteration_duration.............: avg=302.03ms min=159.13ms med=299.07ms max=1.26s p(90)=373.01ms p(95)=407.35ms
iterations.....................: 100908 85.953101/s
vus............................: 50     min=9           max=50
vus_max........................: 50     min=50          max=50

NETWORK
data_received..................: 1.5 GB 1.3 MB/s
data_sent......................: 198 MB 169 kB/s

running (19m34.0s), 00/50 VUs, 100908 complete and 0 interrupted iterations
contacts ✓ [======================================] 00/50 VUs 10m30s 500.00 iters/s

@sai-kumar-peddireddy sai-kumar-peddireddy changed the title Events monitor Realtime event driven VM staus Nov 10, 2025
@sai-kumar-peddireddy sai-kumar-peddireddy marked this pull request as ready for review November 10, 2025 09:51
…sEventsChannel now process events in sequential manner
@sai-kumar-peddireddy sai-kumar-peddireddy enabled auto-merge (squash) November 10, 2025 14:07
auto-merge was automatically disabled November 10, 2025 14:07

Pull request was closed

@github-project-automation github-project-automation bot moved this from 📋 Awaiting Triage to ✅ Done in Parallels DevOps Service Nov 10, 2025
@github-project-automation github-project-automation bot moved this from ✅ Done to 🏗 In Progress in Parallels DevOps Service Nov 10, 2025
@sai-kumar-peddireddy sai-kumar-peddireddy enabled auto-merge (squash) November 10, 2025 14:15
@sai-kumar-peddireddy sai-kumar-peddireddy merged commit b566632 into main Nov 10, 2025
31 checks passed
@sai-kumar-peddireddy sai-kumar-peddireddy deleted the events-monitor branch November 10, 2025 14:21
@github-project-automation github-project-automation bot moved this from 🏗 In Progress to ✅ Done in Parallels DevOps Service Nov 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation test Tests

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

[PBI] Implement the new event monitor backgound in the ParallelsDesktop Service [PBI] Event Monitor Background Service

3 participants