[ 
https://issues.apache.org/jira/browse/IGNITE-18818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17689792#comment-17689792
 ] 

Pavel Tupitsyn commented on IGNITE-18818:
-----------------------------------------

Merged to main: f005d96b16785d5f0ce06c2792583ca2f51d626c

> .NET: Thin 3.0: Improve locking granularity in ClientFailoverSocket
> -------------------------------------------------------------------
>
>                 Key: IGNITE-18818
>                 URL: https://issues.apache.org/jira/browse/IGNITE-18818
>             Project: Ignite
>          Issue Type: Improvement
>          Components: platforms, thin client
>    Affects Versions: 3.0.0-beta1
>            Reporter: Pavel Tupitsyn
>            Assignee: Pavel Tupitsyn
>            Priority: Major
>              Labels: .NET, ignite-3
>             Fix For: 3.0.0-beta2
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> *ClientFailoverSocket* takes *_socketLock* for the entire *GetSocketAsync* 
> method, which is called for every request. This can cause unnecessary 
> contention.
> We don't need to take the lock when using one of the existing, healthy 
> connections. Only when a reconnect is required.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to