Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.0 performance #181

Closed
eaquigley opened this issue Jul 9, 2014 · 5 comments
Closed

4.0 performance #181

eaquigley opened this issue Jul 9, 2014 · 5 comments
Assignees
Labels
Type: Feature a feature request

Comments

@eaquigley
Copy link
Contributor


Author Name: Philip Durbin (@pdurbin)
Original Redmine Issue: 3593, https://redmine.hmdc.harvard.edu/issues/3593
Original Date: 2014-02-26
Original Assignee: Philip Durbin


The goal is page load speed of 1000 milliseconds or less for navigation pages given the following hardware specs: FIXME.

[This ticket is a stub. http://www.codinghorror.com/blog/2011/06/performance-is-a-feature.html :) ]

Resources:


Related issue(s): #50, #182
Redmine related issue(s): 3457, 3594


@eaquigley eaquigley added this to the Dataverse 4.0: In Review milestone Jul 9, 2014
@eaquigley eaquigley modified the milestones: Beta 7 - Dataverse 4.0, Dataverse 4.0: In Review Jul 15, 2014
@eaquigley eaquigley assigned scolapasta and unassigned pdurbin Jul 15, 2014
@raprasad
Copy link
Contributor

build server slow down (inadvertent)

Using the native API, I ran a test script to add 600+ actual dataverse names, affiliations, and aliases.

They were all added under:

  • dataverse: root
  • apikey/user: pete

This slowed the initial front page load time to 1:26 and “paging” through the dataverse names takes over 1 min per click.

Whether or not a user is logged in, the front page load time is the same.

  • Not logged in: 16 dataverses, ~80 second load time
  • Logged in as Pete: 600+ dataverses, ~80 second load time

Clicking on an actual dataverse name works “instantly”—it’s only the listing page that takes time.

@pdurbin
Copy link
Member

pdurbin commented Jul 30, 2014

Using the native API, I ran a test script to add 600+ actual dataverse names, affiliations, and aliases

@raprasad this sounds like a very useful script. Can you please commit it if you haven't already?

@pdurbin
Copy link
Member

pdurbin commented Jul 30, 2014

This slowed the initial front page load time to 1:26 and “paging” through the dataverse names takes over 1 min per click.

I opened #785 for this based on my local testing with the script @raprasad just added to https://github.com/IQSS/dv-api-test . Thanks, for finding this performance issue! We'll fix it in that ticket.

@esotiri
Copy link
Contributor

esotiri commented Aug 4, 2014

home page performance related issue #800
featured dateverses on save #801

@raprasad
Copy link
Contributor

Please examine queries at a page-by-page level for performance.

If you want to see the queries generated for an individual Dataverse page, make the following changes:

  • Edit the persistence .xml file. (I edited this outside of NetBeans to see the actual XML)
  • Add this line within the <properties> tags:
    <property name="eclipselink.logging.level.sql" value="FINE"/>
  • NetBeans should redeploy and add SQL statements

persistence_xml
dataverse_-_netbeans_ide_7_4

@scolapasta scolapasta modified the milestones: Beta 7 (Permissions & Auth Branch) - Dataverse 4.0, Beta 8 - Dataverse 4.0, Long Term Issues-Dataverse 4.0 Oct 10, 2014
@scolapasta scolapasta modified the milestones: Beta 14 - Dataverse 4.0, Long Term Issues-Dataverse 4.0 Feb 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature a feature request
Projects
None yet
Development

No branches or pull requests

6 participants