I hope I do not give a lot of disinformation with this response but:

I do not think you are seeing a direct artifact of displaytag.  The
displaytag "tag" is just iterating over your dataset to generate the
HTML.  Your servlet container is responsible for actually streaming the
dataset back to the browser.  I would personally suspect that your
servlet container is not streaming the HTML until it is completely
generated and the larger your dataset, then the longer you wait.  I
believe some servlet containers will stream back in "snippets" (but
maybe a <table> tag won't render until it is complete) and there may
even be some control over how this is done.

 

You could somewhat verify my assumption by just doing a barebones
replacement of the displaytag approach with some basic JSP using
standard JSTL tags, iterators, etc.

 

I hope this helps some.

 

From: Lowe, Jayme L - St Louis, MO [mailto:jayme.l.l...@usps.gov] 
Sent: Monday, November 21, 2011 2:02 PM
To: displaytag-user@lists.sourceforge.net
Subject: [displaytag-user] Performance Problem with ~2k rows

 

I have never used the displayTag library before and inherited a project
that makes extensive use of it on virtually every page. I've researched
as much as I can through google over the last few days and finally
decided time might be better spent simply asking on this list where
hopefully people are more familiar with the tag.

 

I am attempting to display roughly 2,000 rows in a single JSP, no other
tables on the page, and in IE the entire browser hangs for about a
minute and a half before finally rendering the table, then continues to
stutter while scrolling down the page. When this data set is paginated,
it displays fine with no problems at a page size of 50, but as I
increased the page size (200 was the largest where performance was
acceptable, allbeit still noticeably slow), performance steadily
degraded to be just as bad as the full data set all in one page.

 

Is this simply a case of displaytag being unable to render data sets as
large as 2,000 rows without paging or is there something I can do to
improve performance?

 

Any help would be appreciated.

 

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to