Hi !
I'm using the REST Service control in an XPage (XAgent) and I experience slow performance..
Code:
xmlns:xe="http://www.ibm.com/xsp/coreex">
count="3000">
The XAgent is called using : http:////xRestService.xsp/Read?view=lookupREST
Server is Domino 8.5.3 with UP1
The view (lookupREST) is FTIndexed and has 15 non-computed columns.
I've experimented with setting the count (number of returned rows).
Setting count = 10, data is returned in 60ms (average from 20 requests)
Setting count = 100, data is returned in 2s (average from 20 requests) (!)
Setting count = 1000, data is returned in 2s (average from 20 requests)
Setting count = 3000, data is returned in 5.5s (average from 20 requests) (!)
Result: returning 10 is fast, 100 is very slow, 1000 is slow, 3000 is very slow..
I was hoping it was faster. Should I expect faster response than this ?
I've testet the overall server http performance with other xpages, forms, pages etc, and I find it good.
I've also tested with using the viewJsonService. I find it slower. Using 3000 as count averages to about 10 seconds.
So, questions is should I expect faster reponse times than this ? What could be possible cause(s) for this slow performance ?
Or is this performing as expected ?
Any information/ tips would be greatly appreciated 
Regards,
Petter Kjeilen