Skip to content

Conversation

gblanc-1a
Copy link

@gblanc-1a gblanc-1a commented Oct 2, 2025

Hello,

I have been encountering issues similar to what is described in #146. In my case one of the webservice in destination of the notification was not responding and was waiting for the timeout. With 3 retries this delayed significantely the time where other notification would be sent (which trigger argo workflow on our end)

This PR addresses this issue by allowing parallel notification.
For now I used a default of 50 parallel which might be high.

If we want to be on the safe side we could imagine keeping the default to 1 and allowing only the configuration.

The implementation should be backward compatible (except for the potential resource usage of the go routines hence my proposal above).

Existing configurations should work without changes, and the new maxConcurrentNotifications setting is optional for users who need custom tuning.

@gblanc-1a gblanc-1a force-pushed the feature/parallel_notifications branch 3 times, most recently from 900d042 to ba683ce Compare October 2, 2025 13:53
@gblanc-1a gblanc-1a changed the title feat: add parallel notification delivery to improve performance fix: add parallel notification delivery Oct 2, 2025
@gblanc-1a gblanc-1a force-pushed the feature/parallel_notifications branch 3 times, most recently from 5eb1bad to 389c952 Compare October 3, 2025 09:16
Copy link

codecov bot commented Oct 3, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 56.06%. Comparing base (da04400) to head (389c952).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #398      +/-   ##
==========================================
+ Coverage   55.41%   56.06%   +0.64%     
==========================================
  Files          46       46              
  Lines        4125     4186      +61     
==========================================
+ Hits         2286     2347      +61     
  Misses       1511     1511              
  Partials      328      328              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@gblanc-1a gblanc-1a force-pushed the feature/parallel_notifications branch from 389c952 to f6bdbb0 Compare October 3, 2025 09:26
Implements parallel notification delivery with configurable concurrency

Solve performance issues described in argoproj#146 and slow or failing destinations

Adds maxConcurrentNotifications config option (default: 10)

Signed-off-by: gblanc-1a <[email protected]>
@gblanc-1a gblanc-1a force-pushed the feature/parallel_notifications branch from f6bdbb0 to ad2c6e5 Compare October 3, 2025 09:33
@gblanc-1a gblanc-1a closed this Oct 16, 2025
@gblanc-1a
Copy link
Author

Closed as not yet ready for reviewed

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.

1 participant