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

.NET: Thin client: Do not buffer entire socket response

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • platforms, thin client

    Description

      See ClientSocket.SendReceive: it buffers entire socket response into an array. Responses can be huge (with QueryCursor.GetAll and the like), so this can cause LOH allocations.

      We should implement IBinaryStream over a socket instead.

      This may cause situation when another socket call happens in the middle of data transfer (for example, GetBinaryTypeName while reading cursor data).

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: