Xforms -performance issue - (large Data File)

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

Xforms -performance issue - (large Data File)

raja38
Hi Xforms members !!
      Here we have developed a sample application with large Data file
access option  and Repeat option also there.. Nearly 10000 records we
loading at a time for the display with Data window option. This file
taking as much as nearly 3 to 5 min for rendering in browser ..
  How to solve this performance issue .,, Any suggestion for this query
////.

By
Rajamani M
Junior Research Fellow
NIC - Open Technology Centre

_______________________________________________
dev-tech-xforms mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-xforms
Reply | Threaded
Open this post in threaded view
|

Re: Xforms -performance issue - (large Data File)

Vyacheslav Sedov
Firefox?

On Tue, Sep 8, 2009 at 9:41 AM, OTC<[hidden email]> wrote:

> Hi Xforms members !!
>     Here we have developed a sample application with large Data file access
> option  and Repeat option also there.. Nearly 10000 records we loading at a
> time for the display with Data window option. This file taking as much as
> nearly 3 to 5 min for rendering in browser ..
>  How to solve this performance issue .,, Any suggestion for this query ////.
>
> By
> Rajamani M
> Junior Research Fellow
> NIC - Open Technology Centre
>
> _______________________________________________
> dev-tech-xforms mailing list
> [hidden email]
> https://lists.mozilla.org/listinfo/dev-tech-xforms
>
_______________________________________________
dev-tech-xforms mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-xforms
Reply | Threaded
Open this post in threaded view
|

Re: Xforms -performance issue - (large Data File)

Aaron Reed
In reply to this post by raja38
It wouldn't surprise me, depending on how complex your form is or how
many controls your form has inside the repeats.  I suggest that you
break down the instance into multiple instances of smaller size
(experiment to see how small of a size performs adequately for you) and
the instances, if in the same form, will need to be in separate models.
  Then you'll have to alter your UI so that you can navigate into the
separate instances.  For example, if they are names or indexed by an ID
number, then provide a navigation bar where you can pick values between
ranges.

I don't know if with 10,000 records you'll get the performance you want
with all of the instances loaded into one form...you may have to demand
load them from the server.  But in my limited experience with 'real
world' forms, the act of loading the instances takes little time
relative to the building of the dependency graph for so many nodes.  By
separating them into different models so that there are less instance
nodes per model, the act of rebuilding, recalculating, revalidating, and
refreshing the model won't take so long.

I believe that there are other threads in this newsgroup that talk about
this problem and how different people solved it.

Good luck,
--Aaron


OTC wrote:

> Hi Xforms members !!
>      Here we have developed a sample application with large Data file
> access option  and Repeat option also there.. Nearly 10000 records we
> loading at a time for the display with Data window option. This file
> taking as much as nearly 3 to 5 min for rendering in browser ..
>  How to solve this performance issue .,, Any suggestion for this query
> ////.
>
> By
> Rajamani M
> Junior Research Fellow
> NIC - Open Technology Centre
>
_______________________________________________
dev-tech-xforms mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-xforms