Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-2049 Create an Infinispan-backed SFSB cache
  3. EJBTHREE-2052

Use an L1 Cache for SFSB context stored in a DIST mode Infinispan

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • cache, Clustering
    • None

      With Infinispan DIST, an SFSB context may not be stored in Infinispan on the local node. (Even if it's originally stored locally, it may move due to a rehash following a topology change).

      Keep an L1 cache on the node that's servicing the session to improve read performance.

      The session ownership system discussed in EJBTHREE-2051 can be used to detect failover and the need to invalidate the session out of L1. The locking system should return whether the call required obtaining the lock from a remote node; if yes that implies failover and an invalid L1.

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

              Created:
              Updated:
              Resolved: