留言板

Distributed Caching

Silke Horn,修改在8 年前。

Distributed Caching

New Member 帖子: 18 加入日期: 15-1-9 最近的帖子
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?
thumbnail
Juan Gonzalez,修改在8 年前。

RE: Distributed Caching

Liferay Legend 帖子: 3089 加入日期: 08-10-28 最近的帖子
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).
Silke Horn,修改在8 年前。

RE: Distributed Caching

New Member 帖子: 18 加入日期: 15-1-9 最近的帖子
Hi Juan,
thanks for that link. It did help me A LOT.
My main problem was that we had been using MultiVMKeyPoolUtil instead of MultiVMPoolUtil.