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

loading the admin page/submitting job when many entities are indexed is too slow #67

Open
bradfordcondon opened this issue Aug 24, 2018 · 5 comments
Labels
enhancement New feature or request Feature Request

Comments

@bradfordcondon
Copy link
Contributor

bradfordcondon commented Aug 24, 2018

the problem is the summary table.

screen shot 2018-08-24 at 10 36 48 am

On hte one hand i think its very useful information. You can see what your previous indexing looks like or check on the status or get a sense if theres a problem (no bundles indexed for a CV).

On the other, its just too slow to do a county query on the index table like this.

Also the labels dont make sense. I think that the "big" table is total number of entities that are in the index, wheras the mini table is the total number of terms for that content type (ie more than aone term per entity).

@almasaeed2010
Copy link
Contributor

Loading the admin page has become even more of a problem now that we have this many organisms. Trying to the live site takes a few minutes before the page responds.

I think a good solution is to separate the insights page from the indexing page.

@almasaeed2010
Copy link
Contributor

Another good solution is to cache the results after every indexing job.

@almasaeed2010
Copy link
Contributor

almasaeed2010 commented Jan 23, 2019

As for submitting a job taking this long, I'd just make a dispatcher job that has the form data.

EDIT

this issue might resolve itself once we fix the stats table.

@bradfordcondon
Copy link
Contributor Author

Are the insights helpful as is? probably not.

really it should tell you which organisms you've indexed and which you've havent...

If we can think of a way to make that work, the ncacheing the results sounds good to me.

Otherwise moving elsewhere or removing altogether seems like the right plan.

@almasaeed2010
Copy link
Contributor

Doing it on a per organism is super slow. My attempt at it at least didn't work out very well. See the automated annotation module for the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Feature Request
Projects
None yet
Development

No branches or pull requests

2 participants