This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Apr 4, 2011, 12:34 PM
12 Posts

Impossible to develop Xpages on db with many views

  • Category: Performance
  • Platform: Windows
  • Release: 8.5.2
  • Role: Developer
  • Tags: view,performance,slow,stall
  • Replies: 6
I tried to develop Xpages on database with many views, but it is impossible. On every click - designer starts to load all view design info, and this stalls Designer for a minute, reads about 30MB of data over network and makes me angry.

Is it possible to disable this "feature" somehow?

Thanks,
Gregor
 
Apr 4, 2011, 12:53 PM
33 Posts
Re: Impossible to develop Xpages on db with many views
Hi
 
What is the speed of your machine like?  I have been working with an application with many hundreds of views without too many problems.  I've experienced the designer client running significantly slower on some older machines though...
 
Alternatively, could you try working on a template of the design locally to save on trips to and from the server?
 
I see you are running 8.5.2, if you are on less than 8.5.1 then the designer client is a lot less responsive. 
 
Apr 4, 2011, 1:24 PM
12 Posts
Re: Impossible to develop Xpages on db with many views
I tried different machines. My primary development machine is virtualized WinXP on dual processor 5520 quad code server. Then I tested also on other machines like i7 quadcore 16GB ram, ....
So equipment is not an issue. I also sniffed network traffic, and it goes to 100MB with few clicks.

I tried also with new copied database, without docs, and then I found out that if I delete all views, then it goes to normal behaviour, like if you start from blank database.
 
 
Apr 4, 2011, 2:13 PM
41 Posts
3 easy tweaks that mitigate this behavior
  1. In the Project menu at the top of Designer, deselect Build Automatically. This requires that you manually build before testing any changes you make (right click the database title and select Build), but it makes saving each individual change so much faster, as well as speeding up various other Eclipse operations.
  2. In the toolbar of the Application Navigator pane, deselect the second icon ("Synchronize Navigator with Editor tab")
  3. ALWAYS code against a local replica (or a replica on a locally installed development server)... all your development will be faster, and you can replicate up to the "real" server when all changes are stable. If you're not coding against a local replica, you are wasting time, guaranteed.
Apr 4, 2011, 2:49 PM
4 Posts
Re: Impossible to develop Xpages on db with many views
Why don't you use template with just enough documents to be sure things are OK? I don't have speed problems.
Apr 4, 2011, 9:37 PM
12 Posts
Re: Impossible to develop Xpages on db with many views
It is not a problem of documents, but cause of design elements / views. And Designer probably refreshes the list for data source selection each time a click is done in designing a xpage with view control.
I tried to disable Auto building option, but it does not matter.
I dont like coding on local replica cause I have many development stations and I like to have an up to date status when changing offices.

Apr 5, 2011, 12:20 PM
4 Posts
Re: Impossible to develop Xpages on db with many views
The other way is to define view data source computed way both - database and viewName. That way Designer could not compute in design mode what actually he is linked to. That could be a litlle less comfortable for you as you won't see exactly on first site which is the data source. But I really hope that would boost the designer performance.....

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal