Hi Lenya devs,

in my test setup, I have about 8.000 site nodes with approx. 20.000 documents. A request to the root node of a large subtree in the site area takes a couple of minutes. The reason is that e.g. the Delete usecase checks the workflow state of every single document to determine if the subtree can be deleted.

IMO we shouldn't do any usecase precondition checks with a duration that increases with the number of involved documents. Even if we'd do this check when presenting the confirmation screen, the user has to wait for ages.

A possible approach might be to show the confirmation screen immediately and incrementally include a list of documents that violate the preconditions using asynchronous requests.

Or is there an even better approach?

TIA!

-- Andreas

BTW, a happy new year to everyone!


--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to