Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-18818

.NET: Thin 3.0: Improve locking granularity in ClientFailoverSocket

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Activity

          People

            ptupitsyn Pavel Tupitsyn
            ptupitsyn Pavel Tupitsyn
            Igor Sapego Igor Sapego
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 10m
                10m