You can use the peer-to-peer configuration to attain session affinity using a combination of servers that are configured as both client and server. The peer-to-peer configuration contains a single replica by default.
You have now created a cluster that contains the deployed application and the replication domain.
Note: Using the default tuning parameter custom settings, which specifies time based write interval of 10 seconds, may result in data loss when an application server in your cluster fails. However, this is just a small opportunity for lost data when compared to the significant improvement in performance.