Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-3024

Cache for session replication by default should have marshalling turned off

XMLWordPrintable

    • Compatibility/Configuration
    • Medium

      The UseMarshalling and InactiveOnStartup attributes on the session replication TreeCache only need to be true if FIELD granularity replication is used. At this point it appears that cache performance is much greater if JGroups marshalling is used (see http://jira.jboss.com/jira/browse/JBCACHE-515#action_12333784). As a major goal for clustering in 4.0.4 is optimized session replication performance, we don't want to take the performance hit by default, so for now the default for these values will be "false". A comment will be added explaining the need to set them to true for FIELD replication, and the wiki will note this as well.

      The biggest issue here is the testsuite needs to be modified so a special config is used for the FIELD granularity unit tests, as they all fail if UseMarshalling is false.

              bstansbe@redhat.com Brian Stansberry
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: