1 Reply Latest reply on Mar 14, 2008 9:15 AM by manik

    Need some architectural suggestion about JBoss cache

    mridulmishra

      Hi,
      Need some guidance about possibly a common architectural problem. We are planning to have a clustered JBoss Application Server environment with JBoss cache. The data in the cache will be highly repeatable e.g. search result for Hotels in London. Now we don't want to replicate the data across servers but for users in either application server environment would like to get the most recent data.

      What would be the most appropriate architectural solution?

      Sorry for possibly a dummy question.

      Thanks a lot,
      Mridul

        • 1. Re: Need some architectural suggestion about JBoss cache
          manik

          Are you using something like Hibernate to store entities and run search queries? JBoss Cache, as a 2nd level cache in Hibernate, will ensure that cached objects are up-to-date cluster-wide.

          But basically, you're looking for Invalidation as a cache mode - so that changes in the cache aren't replicated; instead, stale data is invalidated. Have a look at the JBC user guide on this.