I am using a service bus with nettcprelaybinding. One of the parties is the OnPremise server, which has a permanent connection to the service bus. At the other end, there is an Azure web role that responds to incoming web requests by opening the corresponding service bus and retrieving information from the server.
I am concerned about the performance of creating a channel. It takes a few seconds to establish a new connection to the onpremise server via the service bus. Caching my ChannelFactory doesn't seem to help much. The transmission efficiency after opening the channel is very good.
Any suggestions for improving performance. Caching information in Azure is only possible to a certain extent. I need to connect to the onpremise server.
Is it possible to somehow install the connection pool on the service bus?
Moreover, there are many different onpremise servers, so not only one connection can be supported.
source share