[YANGTOOLS-307] org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier object sharing Created: 10/Sep/14 Updated: 10/Apr/22 Resolved: 11/Sep/14 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | ||
| Reporter: | Robert Varga | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Description |
|
Large number of netconf sessions result in a large number of sources for the same module – which in turn explodes memory needed to just track availability – to some 10MB for 1000 sessions. Adding an ObjectCache for both SourceIdentifiers and for PotentialSchemaSources will allows us to bring those numbers down, increasing our ability to scale. |
| Comments |
| Comment by Robert Varga [ 10/Sep/14 ] |