MANOVINAYAK AYYAPPAN 11 Anos atrás Great !! :-) !!!Please write more on Caching, as it is quite difficult to understand the bigger picture to start off. I have been struggling with EhCache for past 2 weeks.Thanks Por favor, autentique-se para votar. Responda como... Cancelar
Florencia Gadea 11 Anos atrás Hi Jorge!Great article. I hope the next entry explains a lot more. What performance test suite do you use or recommend? Por favor, autentique-se para votar. Responda como... Cancelar
rafa sojo 11 Anos atrás Una sugerencia.Este blog podria ser multidioma, o por lo menos tener una versión en castellano Por favor, autentique-se para votar. Responda como... Cancelar
Gerardo Travesedo 11 Anos atrás Muy buen articulo! Todo queda muy claro. Gracias de parte de los que aun somos unos novatos! Por favor, autentique-se para votar. Responda como... Cancelar
MANOVINAYAK AYYAPPAN 11 Anos atrás I am currently facing some EhCache Replication issue with My 6.0.6 implementation.I would like to know which of the following Cache would be used, for a custom entity object.L1 or L2.Say I created a Custom Entity Object and retrieve it using the CustomEntityLocalService from my front end, which Cache will be used L1 or L2. Por favor, autentique-se para votar. Responda como... Cancelar Mario Lavarreda MANOVINAYAK AYYAPPAN 10 Anos atrás Hi Manovinaya, as explained by Jorge: "Level 1 is used to cache objects retrieved from the database within the current datababase session. In the case of Liferay a session is tied to an invocation to a service layer. So when the frontend layer (or a web service) invokes a service a db session is opened and reused until the service method returns. All operations performed until that point will share the L1 cache so the same object won't be retrieved twice from the database."Ehcache is used to manage the 2nd level cache. Second level cache allows to mantain a object reference across multiple calls from your front end. Por favor, autentique-se para votar. Responda como... Cancelar
Mario Lavarreda MANOVINAYAK AYYAPPAN 10 Anos atrás Hi Manovinaya, as explained by Jorge: "Level 1 is used to cache objects retrieved from the database within the current datababase session. In the case of Liferay a session is tied to an invocation to a service layer. So when the frontend layer (or a web service) invokes a service a db session is opened and reused until the service method returns. All operations performed until that point will share the L1 cache so the same object won't be retrieved twice from the database."Ehcache is used to manage the 2nd level cache. Second level cache allows to mantain a object reference across multiple calls from your front end. Por favor, autentique-se para votar. Responda como... Cancelar
Ramkumar Chandran 10 Anos atrás Hi jorge,It is a great series on liferay architectureCould share some knowledge on Workflow Framework part of the liferay? Por favor, autentique-se para votar. Responda como... Cancelar
Shiva Gokaram 10 Anos atrás Great !!.Is there a part 2 of this Blog. Por favor, autentique-se para votar. Responda como... Cancelar Jorge Ferrer Shiva Gokaram 10 Anos atrás Not yet, sorry. I got too caught up with the 6.2 release.But I plan to continue with this blog series pretty soon. Por favor, autentique-se para votar. Responda como... Cancelar
Jorge Ferrer Shiva Gokaram 10 Anos atrás Not yet, sorry. I got too caught up with the 6.2 release.But I plan to continue with this blog series pretty soon. Por favor, autentique-se para votar. Responda como... Cancelar
Christophe Cariou 10 Anos atrás Hi Jorge,waiting your next part about caching. In the meantime, can you give us some links where we can find explanations about the front end (mainly) an service layers caching mechanisms ?For a proposal, I have to argue on the caching management in Liferay...Thanks Por favor, autentique-se para votar. Responda como... Cancelar
Vipin Bardia 9 Anos atrás Hi Jorge,Got a chance to write next series of this article? Por favor, autentique-se para votar. Responda como... Cancelar Jorge Ferrer Vipin Bardia 9 Anos atrás Hey Vipin,Sorry I got side track and never found the time to continue.I do plan to blog more about Liferay's architecture later this year but with a focus on the new modular architecture of Liferay 7. I hope you find that info useful as well. Por favor, autentique-se para votar. Responda como... Cancelar Vipin Bardia Jorge Ferrer 9 Anos atrás Sure Will wait for the article. Por favor, autentique-se para votar. Responda como... Cancelar
Jorge Ferrer Vipin Bardia 9 Anos atrás Hey Vipin,Sorry I got side track and never found the time to continue.I do plan to blog more about Liferay's architecture later this year but with a focus on the new modular architecture of Liferay 7. I hope you find that info useful as well. Por favor, autentique-se para votar. Responda como... Cancelar Vipin Bardia Jorge Ferrer 9 Anos atrás Sure Will wait for the article. Por favor, autentique-se para votar. Responda como... Cancelar
Vipin Bardia Jorge Ferrer 9 Anos atrás Sure Will wait for the article. Por favor, autentique-se para votar. Responda como... Cancelar
Marcello Torriani 8 Anos atrás Hi Jorge, you say: "One final important aspect is that all of these caches use an underlying cache provider to manage the objects in memory. By default Liferay uses ehcache to do that, but it is also possible to change the caching provider through portal.properties. The configuration is done within hibernate-clustered.xml which defines and configures several cache areas."But also that. "Besides using Hibernate, Liferay's code also performs some complex database queries directly (although reusing the database conneciton). For these queries Liferay has its own Entity and Query cache."My question is: is it possible to switch from ehcache implementation to another one both for hibernate and for liferay level cache? Por favor, autentique-se para votar. Responda como... Cancelar Jorge Ferrer Marcello Torriani 8 Anos atrás It is potentially possible, although you will probably have to do a bit of research since it's not a common operation and thus it's not documented.Out of curiosity, what implementation are you looking to use instead of ehcache? Por favor, autentique-se para votar. Responda como... Cancelar
Jorge Ferrer Marcello Torriani 8 Anos atrás It is potentially possible, although you will probably have to do a bit of research since it's not a common operation and thus it's not documented.Out of curiosity, what implementation are you looking to use instead of ehcache? Por favor, autentique-se para votar. Responda como... Cancelar