[midPoint-git] [Evolveum/midpoint] 5cd45d: MID-9106: Reuse WebClient per node and limit to 1 ...
Tony Tkáčik
noreply at github.com
Tue Sep 26 16:26:57 CEST 2023
Branch: refs/heads/feature/cluster-reuse-webclients
Home: https://github.com/Evolveum/midpoint
Commit: 5cd45d34ed93c1db51579626d0ec9a791b0fc53d
https://github.com/Evolveum/midpoint/commit/5cd45d34ed93c1db51579626d0ec9a791b0fc53d
Author: Tony Tkáčik <tonydamage at gmail.com>
Date: 2023-09-26 (Tue, 26 Sep 2023)
Changed paths:
M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/cluster/ClusterExecutionHelperImpl.java
Log Message:
-----------
MID-9106: Reuse WebClient per node and limit to 1 concurrent message
- Introduced simple caching of WebClients - one client per seen node
(see reasons below)
- Use of WebClient needs to be synchronized - class is stateful
this limits current cluster calls to one outstanding per node
(may be problematic with larger transfers, maybe client pooling
would help, )
This fixes crash and restart of a cluster node but may have negative performance impact.
More information about the midPoint-svn
mailing list