XPages Viewpanel Pagers are performance killers and need to be reworked.


An Update to my blog entry: An XPage ViewPanel is 279 times slower than the same web view in Domino


Per Henrik Lausten asked me on Tweeter, am I using Pagers in the view?
Good question! :-)

Since it was a standard ViewPanel, YES!

Removing it completely would bring the timing down to about 4 seconds!
Still slow but not ....very very very slow.
Apparently the Domino server recounts entries in the view and recalculates numbers of pages every time a category is expanded/collapsed.

So I thought by changing the pager type to only have Previous/Next

the problem would be fixed, right?

Nope >25 seconds again.

IBM should understand, doing Paging isn't an exact science...only a rough estimates of how many is perfect in most cases.
Why is a number of entries not cached? or saved in the view? The number may not be 100% correct and updated, just close would be fine

IBM should make an option on the Pager like:
Pager counter updating: Exact or Lazy/Fuzzy counting
And depending on you type of application and number of documents, you could choose your preferred option

(I don't even dare think of had there been any Reader fields on my documents..... )


Posted on 11/09/2011 12:21:24 PM CET