Login  Register

Re: RE: Re: Slow page load

Posted by Erik Bruchez on Dec 11, 2010; 1:38am
URL: https://discuss.orbeon.com/Slow-page-load-tp2768407p3082932.html

Bill,

Performance should be better by default.

You will mostly notice it if you run multiple forms and with several
users, as one of the main issue was caused by information being not
cached or cached not aggressively enough.

What kind of forms do you have, and what kind of performance do you observe?

-Erik

On Tue, Dec 7, 2010 at 6:40 AM, wreeder <[hidden email]> wrote:

> Erik,
>
>
>
> We re-factored the page to reduce the page size dramatically, and that
> helped a lot with performance.
>
> Next we upgraded to the 12/1/2010 nightly build, and found the performance
> to be about the same. Some pages even load a bit slower. Are there any
> configuration parameters or xforms options we need to use to realize the
> improved performance?
>
>
>
> Thanks,
>
> Bill
>
>
>
> From: Erik Bruchez [via Orbeon Forms (ops-users)] [mailto:ml-node+[hidden
> email]]
> Sent: Thursday, October 07, 2010 11:21 PM
> To: Bill Reeder
> Subject: Re: Re: Slow page load
>
>
>
> Since 3.8.0, we implemented some performance enhancements which might
> work for you.
>
> One issue with 3.8.0 was that at each page load for a given page, the
> so-called static state of the page was likely to be rebuild, which was
> costly. Recent fixes help quite a bit with that with better caching.
>
> Can you give a nightly build a try? We are also going to release some
> of them in a PE build soon:
>
> http://wiki.orbeon.com/forms/doc/developer-guide/release-orbeon-forms-381-perf-pe
>
> This said, 20-30 MB per page load is huge and I don't know if this can
> be accounted by this issue alone.
>
> -Erik
>
> On Tue, Oct 5, 2010 at 7:00 AM, wreeder <[hidden email]> wrote:
>
>>
>> Erik,
>>
>> The 2 environments are running on identical WebLogic domains on the same
>> machine. It is likely that the slow server has more activity than the
>> faster
>> server. After more investigation, we found the following:
>>
>> 1. Every reload of this page caused the heap memory to reduce by about
>> 20-30mb. After reloading this page several times, we ran out of heap
>> memory.
>> Do you know why memory is not being garbage collected before the JVM
>> crashes
>> with an out of heap memory exception? We are using WebLogic 11g with the
>> Sun
>> JDK 1.6.0_18 runtime.
>>
>> 2. This page has logic to dynamically add elements to an instance used to
>> display a grid, and from logging, we we a bulk of the time being spent
>> here.
>> We will change our logic to fully prepare the instance in an XPL instead
>> of
>> in the XForm page and hope this improves the performance.
>>
>> 3. This page has 2 dialog boxes, requiring different data than the main
>> page. We will initialize the instances required for the dialogs with an
>> empty template, and will load it on demand when the dialog is loaded
>> first.
>> We hope the initial page load will be quicker with this technique.
>>
>> I'll let you know how this works for us. If you have any other suggestions
>> of best practices regarding instance manipulation on a XForm page, I'd
>> appreciate your insight.
>>
>> Thanks,
>> Bill
>> --
>> View this message in context:
>> http://orbeon-forms-ops-users.24843.n4.nabble.com/Slow-page-load-tp2768407p2956066.html
>> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>>
>>
>> --
>> You receive this message as a subscriber of the [hidden email] mailing
>> list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
>
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
> ________________________________
>
> View message @
> http://orbeon-forms-ops-users.24843.n4.nabble.com/Slow-page-load-tp2768407p2967825.html
> To unsubscribe from Slow page load, click here.
>
>
>
> ________________________________
> CONFIDENTIALITY NOTICE
> This e-mail message from Delphi Technology, Inc. is intended only for the
> individual or entity to which it is addressed. This e-mail may contain
> information that is privileged, confidential and exempt from disclosure
> under applicable law. If you are not the intended recipient, you are hereby
> notified that any dissemination, distribution or copying of this
> communication is strictly prohibited. If you received this e-mail by
> accident, please notify the sender immediately and destroy this e-mail and
> all copies of it.
>
> ________________________________
> View this message in context: RE: Re: Slow page load
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing
> list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws