Fórum

Using MemCached in liferay Portal

thumbnail
Mahdi Tilab, modificado 13 Anos atrás.

Using MemCached in liferay Portal

New Member Postagens: 12 Data de Entrada: 02/03/08 Postagens Recentes
Hi Friends,

I want to use Memcached Mechanism. I see memcached-spring.xml and com.liferay.portal.cache.memcached.MemcachePortalCacheManager class for this. I am not found any wiki page for this feature.

can any one tell me more about this?

Does full support of this feature in liferay or have problem?

How to Integrate MemCache server with mysql database?


Regards
Mehdi Tilab
thumbnail
Hitoshi Ozawa, modificado 12 Anos atrás.

RE: Using MemCached in liferay Portal

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
Liferay currently uses ehcache. It seems MemCache is still just experiment.As you said, there's no document yet. Just have to do it yourself by looking at the source code.
Fabíola Souza Pereira, modificado 11 Anos atrás.

RE: Using MemCached in liferay Portal

New Member Postagens: 8 Data de Entrada: 14/03/08 Postagens Recentes
Any news / documentation about this issue? I really want to use Memcached in Liferay, but no docs found...
Thanks!
thumbnail
Hitoshi Ozawa, modificado 11 Anos atrás.

RE: Using MemCached in liferay Portal

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
Any news / documentation about this issue? I really want to use Memcached in Liferay, but no docs found...


Sorry, I haven't seen any information on the subject. You'll just have to look at liferay source code.
thumbnail
Michael C. Han, modificado 11 Anos atrás.

RE: Using MemCached in liferay Portal

Junior Member Postagens: 74 Data de Entrada: 13/06/07 Postagens Recentes
Actually, you really don't want to use Memcache with Liferay. I understand there's a lot of interest in memcache due to the hype surrounding it. However, memcache isn't suitable for all types of systems.

Unlike ehcache, memcache is not partitioned. So you don't have a separate cache per entity within Liferay. Liferay has over 300 entities that get cached. If you want to use memcache, you would need to create a dedicated memcache cluster for each of the 300 entities. That's a lot of overhead. You would be better off using the out of box ehcache + Terracotta as a distributed cache store.

Where memcache would be appropriate is to serve as a cache for specific objects. For instance, you want to use memcache as an EntityCache for Liferay User objects. The suggested way is to implement an adapter into Ehcache which would allow you to back the cache via memcache.
Vinay J, modificado 7 Anos atrás.

RE: Using MemCached in liferay Portal

New Member Postagens: 9 Data de Entrada: 23/11/16 Postagens Recentes
Hi I am working on Liferay application having plain documents, images, journals in it. I want to implement caching mechanism using memcached.
Any pointers or help will be much appreciated.