Kbase P68935: What is the best way to handle connections to the AppServer
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  2/24/2004 |
|
Status: Unverified
GOAL:
What is the best way to handle connections to the AppServer from an Open Client based application?
FIX:
The best way to use Open Client is to connect to the AppServer at application startup and make your calls then disconnect at application shutdown.
The connect/run/disconnect model will work until you get high load as this model will cause the server side socket used for each client connection to become unavailable for 4+ minutes (standard tcp/ip behavior) and once all of the dynamically allocatable ports become unavailable for reuse (i.e. they are all waiting for that 4+ minute timeout) your servers networking subsystem will fall down to its knees.