• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Suggestions Required Related To Perfomance

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
We have created a webappliction which consists of diffrent Tabs for respective modules.In one of the Tab which connects to a 3rd party Content management using there API.
On Click of this tab we are having a lot of performance issue as there is a lot of business funtionalites like connecting to the 3rd party tool,creating folders based on the usercontext object and lot of other security related stuffz required. we are not supposed to couple this coding any where else so we cant use lazy loading also nor we can have some job which excutes at the backend.
So can anybosy suggest any other way to simplify this!!
 
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You could consider doing the initialization in the background in a different thread which can be started when the dialog box showing the tab is shown.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think Onkar may be on the right track.

The critical question is: How much of what will eventually be needed is known when the dialog is first created?

IF you can not prepare anything in advance, the user perception of performance is the only thing you can tackle. Since this is a web application, perhaps you could use AJAX techniques to update the display information without reloading the page, thus reassuring the user that progress is being made.

Lucky you, the ranch has some real experts on AJAX - vist the HTML and JavaScript forum.

Bill
reply
    Bookmark Topic Watch Topic
  • New Topic