You are here: Foswiki>Tasks Web>Item13190 (05 Jul 2015, GeorgeClark)Edit Attach

Item13190: SiteChanges cause a high load on the server

pencil
Priority: Urgent
Current State: Closed
Released In: 2.0.0
Target Release: major
Applies To: Engine
Component:
Branches: master
Reported By: MichaelDaum
Waiting For:
Last Change By: GeorgeClark
I just checked System.SiteChanges and nearly DoS'ed foswiki.org. We probably should plain remove it from the standard distro. See also Item2235. I make this an urgent task to discuss this on the next release meeting.

A sensible way to render SiteChanges would be to make use of SolrPlugin which comes with a dedicated view template for it as an overlay to the non-performing standard implementation (demo).

I've disabled it using NoContentViewTemplate here on foswiki.org for now ...

-- MichaelDaum - 08 Jan 2015

I wonder if instead of SEARCH we implemented a macro based on Store's eachChangeSince it might be faster. Why do any searching if we have a ready list of changes. That would speed up WebChanges as well.

-- GeorgeClark - 08 Jan 2015

A better implementation based on .changes or event.log information is out of scope for now.

-- MichaelDaum - 13 Jan 2015

I've applied NoContentViewTemplate to FoswikiSiteChanges as well since I just tried it and it time out. Also removed (hid) links to in WebLeftBarFoswikiWebsList and other places where where I found links to it (About.WebHome, Community.HowYouCanHelp).

-- LynnwoodBrown - 13 Jan 2015
 

ItemTemplate edit

Summary SiteChanges cause a high load on the server
ReportedBy MichaelDaum
Codebase
SVN Range
AppliesTo Engine
Component
Priority Urgent
CurrentState Closed
WaitingFor
Checkins distro:031addcb4304
TargetRelease major
ReleasedIn 2.0.0
CheckinsOnBranches master
trunkCheckins
masterCheckins distro:031addcb4304
ItemBranchCheckins
Release01x01Checkins
Topic revision: r7 - 05 Jul 2015, GeorgeClark
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