-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
featNew feature or requestNew feature or request
Description
Describe the feature
Since 3.0 or maybe shortly afterward, the TargetConnectionManager was reworked to use Mutiny Uni
s for asynchronous value emission, so methods are no longer blocking and callers subscribe to the asynchronous responses. This means there are further opportunities to optimize the connection manager by removing the internal target URL-based locking construct. Instead, queues can be formed for each Target, and available workers can take work off the queue, perform it, and submit the result to the subscriber asynchronously. This non-locking structure should eliminate the risk of deadlocking and reduce thread context switching overhead, while ensuring there is still ordering of actions performed on targets.
Anything other information?
No response
Metadata
Metadata
Assignees
Labels
featNew feature or requestNew feature or request
Type
Projects
Status
In progress