What kind of portlets do you use in your web pages ? I found the same very poor performances while simulating 15 users requesting a homepage with velocity/webclipping and iframe portlets. The explanation was that the cache is not working in jetspeed 1.5 with these portlets (even the portletTimeToLive parameter is set). Here the response of David Sean Taylor to my question :
> Hello, > > I'm working on a portal with Jetspeed 1.5 and I'm using velocity and > webclipping portlets. > > With these 2 categories of portlets, the performances of the portal > are very bad (about 4/5 seconds to render the homepage). With some > logs, I realized that the output (html) of the portlets are not set in > the cache, so each time the getcontent() function are called, the all > process of rendering the portlets is run. The response time of the webclipping portlet is dependent on your internet connection and the load of the website you are clipping. Velocity portlets should run very quickly locally, although you can tune Velocity's caching to speed it up > Can you confirm that is possible to cache the output of the velocity > and webclipping portlets ? What are the parameters that control this > process ? > You can setup a cache by: 1. settting isCacheable to true on your portlet (via its InitParameter "_IsCacheable" 2. setting the milliseconds (via the API) for the cache lifetime -- this should really be supported by a init param) 3. overriding the uniqueness of the content per instance with the getHandle method 4. set the content into the 'cache' via the setContent method per capability type This is way too complicated, Im not even sure if I got it right I do plan on making J1 support caching properly when I implement Portlet API caching in J2 (J1 will soon be dependent on J2 for Portlet API support....) -----Message d'origine----- De : giluka [mailto:[EMAIL PROTECTED] Envoy� : mardi 13 juillet 2004 15:34 � : [EMAIL PROTECTED] Objet : performance & psml I can't found some tips useful tip to improve performance in my jetspeed ... I'm using 1.5 v with tomcat 4.1.30. My problem is that with simply 20 users that at the same time use jetspeed application the entire site becomes very slow... I've tried all optimization tips (caching options like 'services.JetspeedSecurity.caching.enable=true') but problem persists. I've noticed that performance degrades particularly when active users have a profile with many shaped (also if many of these are'nt visible !!). Is there a patch to resolve this ? Can anyone help me, please ?? Thanks in advance --- Gianluca --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
