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

BiG-CZ: Increase Area of Interest Size #2418

Closed
wants to merge 4 commits into from

Conversation

rajadain
Copy link
Member

@rajadain rajadain commented Oct 23, 2017

Overview

Increases size of area of interest to 8000. Limits BiG-CZ searches to the last five years by default whenever area of interest is bigger than 1500 km².

The commit 76e0eca alleviates a CPU and RAM utilization issue where a large number of CUAHSI results would fail to serialize to JSON in order to cache. Now we don't cache the CUAHSI results. However, suds itself chokes at a certain point (around 800 or so results). Thus the time limit.

Builds on top of #2409
Connects #2388

Notes

Should we consider adding some sort of message that explains this behavior to the user?

Testing Instructions

  • Test large areas of interest, ensure CINERGI, HydroShare, and WDC all return values and don't error out

Kelly Innes and others added 2 commits October 20, 2017 18:01
If the area of interest is larger than 1500 sq km, the
number of results can be too large to be processed by
suds within the resources of the App VM. To compensate
for this, we restrict searches to be within 5 years by
default in these cases, which is in most cases enough.
For larger areas of interest, this call returns a very large
number of results, serializing all of which is futile and
expensive.
@rajadain rajadain force-pushed the tt+ki/bigcz-increase-analyze-size branch from cc71fa1 to 76e0eca Compare October 23, 2017 13:19
@rajadain rajadain removed the request for review from kellyi October 23, 2017 21:13
@rajadain rajadain assigned rajadain and unassigned kellyi Oct 23, 2017
@rajadain
Copy link
Member Author

We're probably going to reconsider this, so I'm pulling all review requests and closing this PR without merging for now.

@rajadain rajadain closed this Oct 23, 2017
@rajadain rajadain deleted the tt+ki/bigcz-increase-analyze-size branch January 26, 2018 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants