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