Quantcast
Channel: Service Bus forum
Viewing all articles
Browse latest Browse all 1916

Relay - Hybrid connection

$
0
0

Hi,

Creating new HybridConnectionStream object like below, for every client request thread takes time (~3sec)

var client = new HybridConnectionClient(new Uri(String.Format("sb://{0}/{1}", relayConfiguration.Value.RelayNamespace, relayConfiguration.Value.ConnectionName)), tokenProvider);

HybridConnectionStream relayConnection= await client.CreateConnectionAsync(); --( takes ~3 secs)

Is there any way out to reuse/cache already established HybridConnectionStream to serve all future request of same client or possible to create pool of HybridConnectionStream to cater future client request faster.

Please suggest.

rgds, thiru




Viewing all articles
Browse latest Browse all 1916

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>