Session Affinity Policy
Web applications where a user session has back-to-back online transaction processing (OLTP) have
better performance when repeated operations against the same set of records are processed by the
same RAC instance. Business applications such as online shopping and online banking are typical
examples of this pattern.
A GridLink data source uses the Session Affinity policy to ensure all the data base operations for a
web session, including transactions, are directed to the same Oracle RAC instance of a RAC cluster.
Note:
The context is stored in the HTTP session. It is up to the application how windows (within a browser
or across browsers) are mapped to HTTP sessions.
Note 2:
* GridLink Affinity
WebLogic Server GridLink affinity policies are designed to improve application performance by
maximizing RAC cluster utilization. A GridLink data source monitors RAC load balancing advisories
(LBAs) using the AffEnabled attribute to determine if RAC affinity is enabled for a RAC cluster. The
first connection request is load balanced using Runtime Connection Load-Balancing (RCLB) and is
assigned an Affinity context. All subsequent connection requests are routed to the same Oracle RAC
instance using the Affinity context of the first connection until the session ends or the transaction
completes.
* Session Affinity
https://kxbjsyuhceggsyvxdkof.supabase.co/storage/v1/object/public/file-images/1Z0-599/page_29_img_1.jpg
Reference; Configuring and Managing JDBC Data Sources for Oracle Weblogic server 12c, Using
GridLink Data Sources