Is the creation of MRvSession an expensive operation in terms of system resource? Is it better to have a pool of sessions created ahead of time or to create a session dynamically?
book
Article ID: KB0087707
calendar_today
Updated On:
Products
Versions
TIBCO Adapter SDK
-
Not Applicable
-
Description
Resolution: Each MRvSession encapsulates a tibrvTransport and a tibrvQueue. So creating transport (TCP) connection can be an expensive operation. It would be best if you can create the pool of sessions ahead of time rather than dynamically.
Issue/Introduction
Is the creation of MRvSession an expensive operation in terms of system resource? Is it better to have a pool of sessions created ahead of time or to create a session dynamically?