-
1. Re: Transactional cache with 5.1 upgrade
galder.zamarreno Mar 6, 2012 8:57 AM (in response to sudheerk84)There's a performance penalty to making caches transactional, particularly if you're configured to interact with the TM as an XA resource rather than a Synchronization.
If you're only reading data within a transaction, no locks are acquired, so performance penalty is limited.
You can probably just make those caches non-transactional. Simply mark the cache as non-transactional and it should work fine.
-
2. Re: Transactional cache with 5.1 upgrade
sudheerk84 Mar 6, 2012 9:19 AM (in response to galder.zamarreno)" You can probably just make those caches non-transactional. Simply mark the cache as non-transactional and it should work fine."
Just to clarify - Does this mean, even if i read from a cache inside a transaction, that cache from whihc i read can be a non transactional cache ?
-
3. Re: Transactional cache with 5.1 upgrade
galder.zamarreno Mar 6, 2012 11:38 AM (in response to sudheerk84)I think so. If you mark the cache as non-transactional, it shouldn't do any checks on whether a TM is available, whether a transaction is running...etc.