Home
4.3 Best practices
The following recommendations are based on advice the authors received from the development team.
![]()
Do not replicate mini carts or sticky sessions.
![]()
Do not use wsadmin scripts that are intended for version 5 because they use multi-broker domains, which do not have the performance benefits of v6 replication domains.
![]()
Create a distinct domain for HTTP and EJB session data, and another domain for Cache replication.
![]()
Use only a small number of replicas to improve performance. Increasing the number of replicas may reduce the time it takes a session to move to another server, but it does so at the cost of overall performance. One, two, or three replicas should be sufficient in most cases.
![]()
Use dedicated DRS servers for replication.
![]()
When considering which replication policy to use, consider first using the simplest, SHARED-PUSH, and perhaps only for the most expensive cache entries.