Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use local async lock when publishing to the message bus #8507

Closed
3 tasks done
desruc opened this issue Nov 30, 2023 · 2 comments
Closed
3 tasks done

Use local async lock when publishing to the message bus #8507

desruc opened this issue Nov 30, 2023 · 2 comments
Assignees
Labels
kind/enhancement This issue represents an enhancement we are committed to adding to Octopus as some time

Comments

@desruc
Copy link

desruc commented Nov 30, 2023

Prerequisites

  • I have searched open and closed issues to make sure it isn't already requested
  • My team has started working on this issue
  • I have written a descriptive issue title

The enhancement

The Need

The current process for publishing messages to the message bus is causing scalability challenges, primarily due to the use of TABLOCKX. It results in a bottleneck that hinders our ability to efficiently scale deployments.

Solution

We have implemented a semaphore slim around the affected transactions. This addition has proven effective in relieving load on the database, enabling us to concurrently deploy to a larger number of targets.

@desruc desruc added the kind/enhancement This issue represents an enhancement we are committed to adding to Octopus as some time label Nov 30, 2023
@desruc desruc self-assigned this Nov 30, 2023
@LukeButters LukeButters reopened this Dec 12, 2023
@LukeButters
Copy link

Release Note: Improved performance in publication of internal messages

@Octobob
Copy link
Member

Octobob commented Feb 19, 2024

🎉 The fix for this issue has been released in:

Release stream Release
2023.4 2023.4.8125
2024.1 2024.1.3979
2024.2+ all releases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement This issue represents an enhancement we are committed to adding to Octopus as some time
Projects
None yet
Development

No branches or pull requests

3 participants