Scenario risk calculator optimization

Bug #947813 reported by Andrea Cerisara
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenQuake (deprecated)
Fix Released
High
Unassigned

Bug Description

In the scenario risk calculator we compute the losses for each asset and for the whole region. For both results, we need the:

* ground motion values for each grid point
* assets related to each site included in the computation

Currently we query twice the backend. The performance can be improved by querying only once the backend (Redis/PostgreSQL).

tags: added: performance risk
Revision history for this message
Muharem Hrnjadovic (al-maisan) wrote :

Related bug #932656

Changed in openquake:
status: New → In Progress
assignee: nobody → Andrea Cerisara (andreacerisara-b)
Changed in openquake:
importance: Undecided → High
Changed in openquake:
status: In Progress → Fix Committed
John Tarter (toh2)
Changed in openquake:
milestone: none → 0.6.1
Changed in openquake:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.