skip to main content
Introduction : About Threading Models
 

About Threading Models

The type of connection model you choose for your OpenAccess SDK configuration partly depends on your OpenAccess SDK Server platform, the scalability. OpenAccess SDK provides the following types of connection models:
*The Thread/Connection connection model provides a dedicated thread for each OpenAccess SDK Client connection to an OpenAccess SDK Server. It is the default connection model for all platforms. (ServiceConnectionModel=Thread/Connection)
*The Process/Connection (forking) connection model creates a separate operating system process for each OpenAccess SDK Client connection request. (ServiceConnectionModel=Process/Connection)
*The ThreadPool connection model starts OpenAccess SDK with a preallocated minimum number of threads that can be increased when needed to a specified maximum number of threads. These threads can be shared by multiple OpenAccess SDK Clients connected to the OpenAccess SDK Server. (ServiceConnectionModel=ThreadPool)
See Allocating the Number of Threads to the Thread Pool and Returning Threads to the Thread Pool for more information about configuring how the thread-pool engine operates.
See OpenAccess SDK Service Attributes for more information about service attributes.
In this section: 
* Allocating the Number of Threads to the Thread Pool
* Returning Threads to the Thread Pool