[midPoint-git] [Evolveum/midpoint] 5cd45d: MID-9106: Reuse WebClient per node and limit to 1 ...
Tony Tkáčik
noreply at github.com
Wed Sep 27 11:46:00 CEST 2023
Branch: refs/heads/master
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.
Commit: 3b82ad72a7d8630c0b9c39c41984291e1484fe3e
https://github.com/Evolveum/midpoint/commit/3b82ad72a7d8630c0b9c39c41984291e1484fe3e
Author: Tony Tkáčik <tonydamage at gmail.com>
Date: 2023-09-27 (Wed, 27 Sep 2023)
Changed paths:
M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/cluster/ClusterExecutionHelperImpl.java
Log Message:
-----------
MID-9106: Configured CXF WebClient to be thread safe
cxf.WebClient has option to behave in thread-safe manner, this allows
us to drop synchronized block and actually effectivelly use backing
HttpClient and reuse it's thread pools for multiple concurrent HTTP
calls.
Commit: 6e6d145b47f46404b2cbe53f667ca3a8f228b58f
https://github.com/Evolveum/midpoint/commit/6e6d145b47f46404b2cbe53f667ca3a8f228b58f
Author: Tony Tkáčik <tonydamage at gmail.com>
Date: 2023-09-27 (Wed, 27 Sep 2023)
Changed paths:
M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/cluster/ClusterExecutionHelperImpl.java
Log Message:
-----------
Merge branch 'feature/cluster-reuse-webclients'
Compare: https://github.com/Evolveum/midpoint/compare/745172899aa5...6e6d145b47f4
More information about the midPoint-svn
mailing list