On 4 sep, 07:51, Livinglegends <[email protected]> wrote:
> Hi,
>
> I have one question regarding performance of GWT.
>
> In our project there are total 12 column and 5000 record to display.
> We are using List of pojo to get the data from server.
> DB is taking 9 sec to retrieve all data but to retrieve data through
> rpc call from server and client is taking 7-8 second thus total time
> taken by it is 9 sec + 8 sec = 17 secs.
>
> So, how to improve RPC performance so I can retrieve data from server
> to client withing 2-3 seconds.

Your users won't ever see all 5000 records at the same time (they'll
be "clipped" by the screen/window size), so don't send them all in one
shot.

As for the UI, you have several options:
 - use "pages", fetching and showing one page at a time (prev, next,
go to page #N; as in Google/Bing/etc. search results)
 - use "more" buttons to fetch the next "page" of records and append
it to the already retrieved ones (as in Twitter or Facebook)
 - use an "endless scroll" (similar to "more buttons" but triggered
automatically as you scroll down the page; as in Google Reader)

Have a look at the PagingScrollTable and bulk table renderers from the
GWT Incubator (I'm not sure but I think they're used in Google
Adwords):
http://code.google.com/docreader/#p=google-web-toolkit-incubator&t=PagingScrollTable
http://code.google.com/docreader/#p=google-web-toolkit-incubator&t=BulkTableRenderers

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to