Meassure and improve performance of Cdp/Lldp/IsIsElement loading

Description

None

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Patrick Schweizer December 3, 2018 at 12:14 AM

I compared loading the lightweight model (similar to CdpLinkTopologyEntity) with the current implementation.
On a random cdp topology with 20000 Nodes, 20000 Elements, 20000 Links, 0 SnmpInterfaces, 0 IpInterfaces I got:
original: took 231ms
optimized: took 69ms
=> the improvement is about 3x
Here is the PR to use the lightweight model for all Elements:
https://github.com/OpenNMS/opennms/pull/2277

Fixed

Details

Assignee

Reporter

Sprint

Priority

PagerDuty

Created December 2, 2018 at 6:57 PM
Updated August 25, 2022 at 1:52 PM
Resolved December 17, 2018 at 12:05 AM