Re: dev-tech-xforms Digest, Vol 44, Issue 2 (Performance issue)

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

Re: dev-tech-xforms Digest, Vol 44, Issue 2 (Performance issue)

raja38
Thanks Aaron !!!
             We have implemented that by Data Window option per page showing 20 rows . But the initial requirement is , We getting that XML File from the customer and some times have entered wrong data and generated XML file from their software like Tally or etc,. So we need to test weather entered data have error free or having error . Suppose in some field having wrong data then need to edit and re generate that XML file again .Then only can send to Server side.
               This Time that performance issue happing . and even navigating to next page the same time has taken to load the next 20 rows .. How to solve this one too.
Ps: If u want the sample date i will send to you for the testing ...

Thanks and Regards
Rajamani M
Junior Research Fellow
NIC - Open Technology Centre ,
Gov of India .

----- Original Message -----
From: [hidden email]
Date: Wednesday, September 9, 2009 12:35 am
Subject: dev-tech-xforms Digest, Vol 44, Issue 2
To: [hidden email]

> Send dev-tech-xforms mailing list submissions to
> [hidden email]
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.mozilla.org/listinfo/dev-tech-xforms
> or, via email, send a message with subject or body 'help' to
> [hidden email]
>
> You can reach the person managing the list at
> [hidden email]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of dev-tech-xforms digest..."> Today's Topics:
>
>    1. Xforms -performance issue - (large Data File) (OTC)
>    2. Re: Xforms -performance issue - (large Data File)
>       (Vyacheslav Sedov)
>    3. Re: Xforms -performance issue - (large Data
> File) (Aaron Reed)> 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
>
> > 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
> >
> > 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

Rajamani Marimuthu
Junior Research Fellow-JRF
NIC -Open Technology Centre
Rajaji Bhavan
Besant Nagar,
Chennai - 90
Cell : 9791125383




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

Re: dev-tech-xforms Digest, Vol 44, Issue 2 (Performance issue)

Aaron Reed
Only some of the slowdown would be due to visual representation of the
data.  So even if you broke down the UI to rendering 20 records of data,
if the instance is still 10,000 records of data, you'll still see some
performance issues.  Is there any way that you can do the error
detection on the server and build xml instance data containing the
records that need to be corrected dynamically on the server and then
have the user on the client update/fix the data and submit their changes?

--Aaron

Raja wrote:

> Thanks Aaron !!!
>              We have implemented that by Data Window option per page showing 20 rows . But the initial requirement is , We getting that XML File from the customer and some times have entered wrong data and generated XML file from their software like Tally or etc,. So we need to test weather entered data have error free or having error . Suppose in some field having wrong data then need to edit and re generate that XML file again .Then only can send to Server side.
>                This Time that performance issue happing . and even navigating to next page the same time has taken to load the next 20 rows .. How to solve this one too.
> Ps: If u want the sample date i will send to you for the testing ...
>
> Thanks and Regards
> Rajamani M
> Junior Research Fellow
> NIC - Open Technology Centre ,
> Gov of India .
>
> ----- Original Message -----
> From: [hidden email]
> Date: Wednesday, September 9, 2009 12:35 am
> Subject: dev-tech-xforms Digest, Vol 44, Issue 2
> To: [hidden email]
>
>> Send dev-tech-xforms mailing list submissions to
>> [hidden email]
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> https://lists.mozilla.org/listinfo/dev-tech-xforms
>> or, via email, send a message with subject or body 'help' to
>> [hidden email]
>>
>> You can reach the person managing the list at
>> [hidden email]
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of dev-tech-xforms digest..."> Today's Topics:
>>
>>    1. Xforms -performance issue - (large Data File) (OTC)
>>    2. Re: Xforms -performance issue - (large Data File)
>>       (Vyacheslav Sedov)
>>    3. Re: Xforms -performance issue - (large Data
>> File) (Aaron Reed)> 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
>>
>>> 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
>>>
>>> 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
>
> Rajamani Marimuthu
> Junior Research Fellow-JRF
> NIC -Open Technology Centre
> Rajaji Bhavan
> Besant Nagar,
> Chennai - 90
> Cell : 9791125383
>
>
>
>
_______________________________________________
dev-tech-xforms mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-xforms