Skip to content

Migrate HttpClient to virtual threads#743

Open
pditommaso wants to merge 14 commits intomasterfrom
virtual-threads-phase3
Open

Migrate HttpClient to virtual threads#743
pditommaso wants to merge 14 commits intomasterfrom
virtual-threads-phase3

Conversation

@pditommaso
Copy link
Collaborator

This PR introduces the use of virtual threads in HttpClientFactory class

This commit introduces the use of BLOCKING tasks executors for controllers, PairingWebSocket and TowerConnector.

When running over Java 21 (and later) the blocking tasks executor use virtual thread pool to carry out the tasks execution.

Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
@pditommaso pditommaso changed the base branch from master to virtual-threads-phase2 November 17, 2024 17:12
@pditommaso pditommaso force-pushed the virtual-threads-phase3 branch from 31e31b1 to 82a7d0a Compare November 26, 2024 08:55
Base automatically changed from virtual-threads-phase2 to master February 21, 2025 08:55
@pditommaso pditommaso changed the title Migration to virtual threads - phase 3 Migrate HttpClient to virtual threads May 22, 2025
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