Busting an Xpages Myth: Performance (includes video)
If you think that Xpages are big and cumbersome and would be slow because they're all in Java, think again. Watch this video for proof.
(continued...)
The Camtasia Studio video content presented here requires JavaScript to be enabled and the latest version of the Macromedia Flash Player. If you are you using a browser with JavaScript disabled please enable it now. Otherwise, please update your version of the free Flash Player by downloading here.
MASSIVE PROPS to the Domino development team, who have clearly done a great job at getting some efficient code in 8.5.


Comments
Posted by Bruce Elgort At 06:51:22 PM On 09/16/2008 |
Hell, I was one 'em, Bruce. I expected to have to throw a lot of hardware at them. But I'm delighted to say that I was wrong.
Posted by Nathan T. Freeman At 06:57:57 PM On 09/16/2008 |
Posted by Bruce Elgort At 07:00:00 PM On 09/16/2008 |
XPages are true badness. They're not lightning compared with, say, opening a straight view, but for all of their dynamic capabilities they really are very quick.
This is a real good blog topic, for sure - I bet many Domino developers' experience of Java is through applets, which definitely adds a feeling of chunk. Persistent Java, servlets, etc. can be lightning quick.
Now if IBM can just run a proper custom build on the appropriate Dojo components so that putting one on an XPage doesn't result in 60+ web server hits, they'll really have something special. I haven't checked Beta 2 for that yet though - maybe they've already addressed that.
More info here for the curious: { Link }
Posted by Erik Brooks At 08:48:14 PM On 09/16/2008 |
And I'm not so sure about the comparison to opening a straight view via the native HTML rendering. It'll be hard to without side-by-side stress-tested metrics, but the view rendering in the second application certainly felt faster than a standard HTML table from a view. It might be slower than a ?ReadViewEntries call, but I'm not certain about that.
Posted by Nathan T. Freeman At 11:16:44 PM On 09/16/2008 |
Posted by Tim Tripcony At 11:34:15 AM On 09/17/2008 |
I've done some side-by-side tests of an HTML view versus an XPage. The view is a bit faster but loading the icons in the HTML view tends to make things "feel" slower in a browser.
So yeah, the HTML view is slightly easier on the server and therefore faster. But, consider the pager in the XPage: To implement that with a legacy HTML view you're now talking about embedding the view on a form (more overhead), and/or using an agent (even more overhead), a subform, etc. The XPage performance catches up fast.
Nothing beats ?ReadViewEntries, though. But of course it doesn't do much other than spit out data.
Posted by Erik Brooks At 12:15:33 AM On 09/18/2008 |
"Rosencrantz and Gildenstern Are Dead". Run to Netflix or Blockbuster immediately. You will not be disappointed.
And, did you try output=JSON? I didn't even bother with that metric. Perhaps there's an output that trumps them all. Though at the margin, who cares? It's all about user experience vs. bandwidth workload in the end. Everything in between is just currency.
Posted by Nathan T. Freeman At 12:37:00 AM On 09/18/2008 |
Sorry to hear that you won't be blogging for some time (at least) as I've been checking your site continually as one of the (many, I suspect) silent ones who read on a regular basis but don't chip in. I have to say that you have contributed in no small part to strenghtening my resolve to stick with Notes development and to defend it in the face of some hostility. Knowing that Notes has people of your calibre and intelligence pushing it validates the platform for me.
Best of luck with the project in Orlando and with the next in line of T. Freemans
Eoin
Posted by Eoin Meaney At 07:27:54 AM On 09/19/2008 |
Posted by Brett H At 02:52:17 PM On 09/19/2008 |
Posted by Mark Demicoli At 01:46:49 AM On 10/07/2008 |
this sounds interesting...im tryin to research more abt this. If anyone can upload a demo database.. it wld have been gre8 help. Thanks in advance.
Posted by vijay At 02:58:34 AM On 10/20/2008 |
What else would you expect from IBM? Domino Designer has not advanced even slightly with the introduction of XPages.
Not a day of XPages development passes without causing me a great number of headaches.
Posted by Anonymous At 01:26:38 AM On 05/20/2009 |