留言板
Distributed Caching
I've read that Liferay supports distributed caching, e.g. <https://www.liferay.com/documentation/liferay-portal/6.0/administration/-/ai/distributed-cachi-4> tells a nice story about distributed caches that dramatically increase performance. I could not find any details though on how to actually implement this. (In fact, I could not find any Liferay cache documentation whatsoever...)
We tried using MultiVMKeyPoolUtil on our cluster. However, if there is a change in the cache on some node, this only invalidates the same object in the caches of the other nodes, which does not save the next user the extra round trip to the database.
So I wonder, how can I actually achieve the effect described in the link above?
We tried using MultiVMKeyPoolUtil on our cluster. However, if there is a change in the cache on some node, this only invalidates the same object in the caches of the other nodes, which does not save the next user the extra round trip to the database.
So I wonder, how can I actually achieve the effect described in the link above?
Hi Silke,
please read this post: https://www.liferay.com/community/forums/-/message_boards/message/42531571 (you have to enable replicatePuts etc in the ehcache xml).
please read this post: https://www.liferay.com/community/forums/-/message_boards/message/42531571 (you have to enable replicatePuts etc in the ehcache xml).