EntryPoints are the key element of Linkar SERVER.
They establish:
•How Linkar will connect and communicate with the database server.
•How Linkar Clients will connect through Linkar SERVER.
A terminology refresher might be helpful at this time.
Each Profile (server definition) can have as many EntryPoints (databases accounts) defined as desired.
Each EntryPoint (EP) targets a specific database account with a specific Connection Type.
The Linkar SERVER service is "started" to process transactions.
Each EntryPoint that will be used for transactions must also be "started".
EntryPoints can be configured to auto-start with Linkar SERVER.
When an EP is started, it is Open and "listening" on the configured port, waiting for requests from Linkar Clients.
Multiple Linkar Clients can simultaneously connect to the same EntryPoint to perform operations against the database.
The EntryPoint is responsible for accepting each Linkar Client request, and redirecting it to the database through an available connection. This begins an active Client Session.
Once the execution of the database operation is finished, the EntryPoint returns the results to the Linkar Client. The Database Session remains available for other clients.
The Linkar Clients themselves do not consume individual database licences. They connect to the EntryPoint, where Linkar SERVER is responsible for distributing requests across database connections that have been defined for the EP. In this way, Linkar helps to significantly optimize the use of database licences.
An EntryPoint can be configured with either or both of these session types: Permanent, or Temporal (also referred to as Temporary or On-Demand).
When the EP itself is started, it opens Permanent connections to the DBMS (as many as defined in the configuration) and keeps them active. When the EntryPoint receives a request, Linkar SERVER assigns an available Database Session, created for this EP, to the operation. If there are no free Linkar Database Sessions, Temporal sessions are started, one by one, up to the maximum defined in the configuration, or the maximum available Linkar licences. If another Temporal session cannot be started, the transaction is queued. The queue system used by the EntryPoint effectively manages server access from many Linkar Clients to a limited number of database ports. This is known as pooling, where the server maintains a dynamic pool of Database Sessions. After a period of time defined for the EP (Inactivity seconds for disconnect), Temporal Database Sessions will go through a graceful wrapup, and ports and licences free up for later use.
Each EntryPoint has a series of common properties, and other properties that vary depending on the database and the type of connection to it.
See EntryPoint Configuration for further details. |