Try OpenEdge Now
skip to main content
Developing AppServer Applications
Design and Implementation Considerations : Secondary performance considerations : Connect and disconnect performance issues : Performance-related issue for the CONNECT( ) method
 
Performance-related issue for the CONNECT( ) method
Connecting to session-managed AppServers can be expensive depending on agent startup and initialization tasks defined in your AppServer Connect procedure. Connecting to a session-free application service can be expensive depending on the number of initial connections and NameServer responsiveness on the network. For these reasons, you might want to connect to AppServers at client application startup. Also, in most designs, it is advisable that you do not disconnect from AppServers if you intend to use services offered by a particular AppServer more than once prior to ending the client application session.