MANOVINAYAK AYYAPPAN Vor 11 Jahren 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 Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Florencia Gadea Vor 11 Jahren Hi Jorge!Great article. I hope the next entry explains a lot more. What performance test suite do you use or recommend? Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
rafa sojo Vor 11 Jahren Una sugerencia.Este blog podria ser multidioma, o por lo menos tener una versión en castellano Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Gerardo Travesedo Vor 10 Jahren Muy buen articulo! Todo queda muy claro. Gracias de parte de los que aun somos unos novatos! Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
MANOVINAYAK AYYAPPAN Vor 10 Jahren 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. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen Mario Lavarreda MANOVINAYAK AYYAPPAN Vor 10 Jahren 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. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Mario Lavarreda MANOVINAYAK AYYAPPAN Vor 10 Jahren 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. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Ramkumar Chandran Vor 10 Jahren Hi jorge,It is a great series on liferay architectureCould share some knowledge on Workflow Framework part of the liferay? Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Shiva Gokaram Vor 10 Jahren Great !!.Is there a part 2 of this Blog. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen Jorge Ferrer Shiva Gokaram Vor 10 Jahren Not yet, sorry. I got too caught up with the 6.2 release.But I plan to continue with this blog series pretty soon. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Jorge Ferrer Shiva Gokaram Vor 10 Jahren Not yet, sorry. I got too caught up with the 6.2 release.But I plan to continue with this blog series pretty soon. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Christophe Cariou Vor 10 Jahren 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 Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Vipin Bardia Vor 8 Jahren Hi Jorge,Got a chance to write next series of this article? Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen Jorge Ferrer Vipin Bardia Vor 8 Jahren 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. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen Vipin Bardia Jorge Ferrer Vor 8 Jahren Sure Will wait for the article. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Jorge Ferrer Vipin Bardia Vor 8 Jahren 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. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen Vipin Bardia Jorge Ferrer Vor 8 Jahren Sure Will wait for the article. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Vipin Bardia Jorge Ferrer Vor 8 Jahren Sure Will wait for the article. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Marcello Torriani Vor 8 Jahren 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? Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen Jorge Ferrer Marcello Torriani Vor 8 Jahren 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? Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Jorge Ferrer Marcello Torriani Vor 8 Jahren 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? Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen