You are here: Foswiki>Tasks Web>Item10331 (05 Apr 2011, SvenDowideit)Edit Attach

Item10331: MongoDBPlugin Milestone 3 - remove foswiki bottlenecks

pencil
Priority: Normal
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: MongoDBPlugin
Branches:
Reported By: SvenDowideit
Waiting For: Main.SvenDowideit
Last Change By: SvenDowideit
use the topic JSON form mongo rather than loading txt from disk and parsing

and other speedups like that

-- SvenDowideit - 09 Feb 2011

I had briefly panicked about the sorting problem, but that turned out to be a simple bug.

1500 TaxonProfile/Definitions topics is sortable.

10,000 Glossary topics are not.

So the sorting issue isn't as urgent as I'd made it out to be on IRC; however, I'd been planning to switch over to a DBCache-free version of our site in the next week or two, we'll do it with Solr though.

-- PaulHarvey - 09 Feb 2011

Actually, after MongoDBPlugin:3a0e36049192 I've tried a SEARCH from the unit tests:
%SEARCH{"Source/info.rev!=SourceRev" type="query" limit="20"}%
and it fails with:
Could not perform search. Error was: query error: error on invocation of $where function: JS Error: TypeError?: ns has no properties (anon):1138 

I had done the updateDatabase thing (JS-updater rest handler), and re-loaded my webs

-- PaulHarvey - 21 Mar 2011

BruteForce results: Searched: form.name='TaxonProfile.Relationships.RelationshipForm' AND Source/info.rev!=SourceRev
  • Relationship19, Relationship21, Relationship22, Relationship23, Relationship25, Relationship26, Relationship27, Relationship28, Relationship30, Relationship353, Relationship582, Relationship605

Searched: Source/info.rev!=SourceRev
  • Relationship1011, Relationship19, Relationship21, Relationship22, Relationship23, Relationship25, Relationship26, Relationship27, Relationship28, Relationship30, Relationship353, Relationship582, Relationship605, Relationship832, Relationship879, Relationship880, Relationship894, Relationship950, Relationship967

-- PaulHarvey - 21 Mar 2011

cooked. onto milestone 4

-- SvenDowideit - 05 Apr 2011
 
Topic revision: r23 - 05 Apr 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