The DefaultResourceDao loads all child resources when retrieving a specific resource by id

Description

The getResourceById() call loads all child resources, and then iterates over the list to find the requested child.

This uses excessive IO and adds latency to these requests, particularly on nodes with a large number (100+) of interfaces/resources.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Jesse White February 26, 2015 at 11:21 AM

Fixed in develop: e17ebb51d9e6027e09e93cf6f7fc7e58e6142dde.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

PagerDuty

Created February 24, 2015 at 11:35 AM
Updated February 26, 2015 at 4:18 PM
Resolved February 26, 2015 at 11:21 AM