You are here: Foswiki>Tasks Web>Item10704 (18 May 2011, SvenDowideit)Edit Attach

Item10704: Minimise chattiness (with Store) of paged SEARCHes

pencil
Priority: Normal
Current State: New
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: MongoDBPlugin
Branches:
Reported By: PaulHarvey
Waiting For: SvenDowideit
Last Change By: SvenDowideit
Why should this:
%SEARCH{
  "form.name='Lauries.GlossaryForm'"
  type="query"
  web="Lauries/GlossaryData"
  pager="on"
  showpage="1000"
}%

Take so much longer than showpage="1" (5s vs 3s). The difference is small on Lauries but gets rather more profound on the Insecta web (which I can get solid numbers for later, if you like).

We might be seeing these effects more than a stand-alone mongod running on localhost (we've got 3 relicas on 3 VMs, a 4th VM running Foswiki)

-- PaulHarvey - 04 May 2011

This should be able to be implemented in a similar way to the delegate ACL functionality - such that the MongoDB::ResultSet iterator knows how to use MongoDB's Cursor's skip functionality

-- SvenDowideit - 18 May 2011
 

ItemTemplate edit

Summary Minimise chattiness (with Store) of paged SEARCHes
ReportedBy PaulHarvey
Codebase trunk
SVN Range
AppliesTo Extension
Component MongoDBPlugin
Priority Normal
CurrentState New
WaitingFor SvenDowideit
Checkins
TargetRelease n/a
ReleasedIn n/a
Topic revision: r2 - 18 May 2011, SvenDowideit
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy