We detected a slow performance in almost all pages.
If anyone is interested I can give you access to test it and investigate
how DSpace-6_x reacts with a huge amount of information.
Regards.
Joan Caparrós
El 02/12/16 a les 11:51, helix84 ha escrit:
Probably related issue (marked as resolved):
https://jira.duraspace.org/browse/DS-3004
Regards,
~~helix84
Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
On Thu, Dec 1, 2016 at 10:15 PM, <[email protected]> wrote:
In DSpace 6x, it takes an intolerable 10 minutes (!!!) to populate the
Select Collection drop-down in my instance when logging in as a regular user
as opposed to an administrator.
I can add hardware details if anybody is interested, but I'm pretty sure
it's not the problem -- this is a beefy machine that hummed along nicely
with version 5.x...
We have a little over 1000 collections in our repository, and we use
shibboleth for authentication so findAuthorizedPerformanceOptimize is set to
it's default of false.
Some rudimentary profiling suggests that the isAdmin() call in authorize()
is the bottleneck. In a recent test (pretty typical), the findAuthorized()
function takes 704,040 ms to return. The time spent in the isAdmin() call
amounts to 590,691 ms, or about 83% of the time. Another bottleneck within
this bottleneck is the recursive call to isAdmin(parent collection) -- about
400,000 ms. Clearly there is a lot of waste in this call because many many
collections will be tested over and over. In our case, we have a single
community that is the ancestor of every community/collection, and isAdmin()
winds up being called against it 1012 times -- same as the number of
collections in the repository -- and 1011 of them are redundant.
As a further test, I have short-circuited isAdmin() to return false
immediately. The results in the rendering of the drop-down in about 94,000
msec. Still way too long, but a drastic improvement.
When logging in as an administrator, isAdmin() returns rather quickly and
the list is populated much quicker as well. But for the everyday user, the
performance is a big red light preventing us from upgrading.
Sorry, this is simply stating the problem with no solution. But has anybody
else with a similarly sized repository experienced this slow down?
Regards,
Bill
--
You received this message because you are subscribed to the Google Groups
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.
--
.........................................................................
Joan Caparrós
Tècnic de Projectes
Consorci de Serveis Universitaris de Catalunya (CSUC)
Gran Capità, 2 (Edifici Nexus)•08034 Barcelona
T.93 551 6204•F.93 205 6979•[email protected]
www.csuc.cat •Twitter @CSUC_info•Facebook•Linkedin
Subscriu-te al butlletí; (www.csuc.cat/butlleti)
.........................................................................
--
You received this message because you are subscribed to the Google Groups "DSpace
Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.