Complex XForm with several cases, causing network traffic and server CPU load issues

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Complex XForm with several cases, causing network traffic and server CPU load issues

Nikolay Chillev
Hi,

I have a complex XForm, with several tabs, data in some tabs is dependent on data in some other tab. Each tab makes different case of a switch to become visible. Entire form and all cases in the switch are transferred to user's browser in HTML format on form startup.
This causes network traffic issues as though as tremendous time to render serverside the form. I intend to make a separate form for each tab of the original XForm.

All XML instances are stored in stock eXist database, and those which would never change are decorated with attributes: xxforms:readonly="true" and xxforms:shared="application".
I have modified theme-plain.xsl to simply copy content, in order to decrease server load.
So, how do you advise me to reduce server CPU load and network bandwidth issues.
Reply | Threaded
Open this post in threaded view
|

Re: Complex XForm with several cases, causing network traffic and server CPU load issues

Alessandro Vernet
Administrator
Nikolay,

On Feb 16, 2008, at 8:35 AM, Nikolay Chillev wrote:

> All XML instances are stored in stock eXist database, and those  
> which would
> never change are decorated with attributes: xxforms:readonly="true"  
> and
> xxforms:shared="application".

This is good.

> I have modified theme-plain.xsl to simply copy content, in order to  
> decrease
> server load.
> So, how do you advise me to reduce server CPU load and network  
> bandwidth
> issues.

I am not sure if there is much you can do to reduce the size of the  
pages generated by the server and initially sent to the client, except  
creating one page for each tab, as you suggested. For CPU load, you  
might want to try setting the oxf.xforms.optimize-relevance property  
(in config/properties.xml) to true. You'll let us know how this works  
for you.

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.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