Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-5113

Chapter 21.3.7 of configuration guide gives bad advice

XMLWordPrintable

      Chapter 21.3.7, entitled "Externalize HTTP Sessions to JBoss Data Grid" makes bad recommendations for configuring distributed web sessions in conjunction with JDG.

      1. There is no point to using a replicated-cache in conjunction with a write-through cache store. A replicated cache means that web sessions from all nodes are available in memory - thus the remote store would never end up getting utilized! To truly "externalize" web sessions to JDG, you would want to use an invalidation-cache. Otherwise, there is no point to using JDG at all.

      2. The purpose of externalizing web sessions to JDG, is to handle more sessions than can fit in memory, without resorting to file I/O for passivation. Consequently, suggesting that users enable preload is a really bad idea, as this will force all sessions into memory of each node on startup.

            rhn-support-ahoffer Andrea Hoffer
            pferraro@redhat.com Paul Ferraro
            Ladislav Thon Ladislav Thon
            Ladislav Thon Ladislav Thon
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: