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

Improve focusing on components in dependency graph #365

Merged

Conversation

rbt-mm
Copy link
Contributor

@rbt-mm rbt-mm commented Dec 16, 2022

Description

Improvement to #336.

Focusing on a component in the dependency graph can result in huge amounts of data being sent from the backend to pre-expand a graph, because in big nested graphs the same components can appear multiple times and the current approach of focusing on components includes every duplicate component in its response.

With this PR, the needed components for pre-expanding a graph are being de-duplicated before being sent as a response to the frontend, resulting in a huge reduction of sent data (e.g. ~50MB => ~60KB).

Addressed Issue

Backend: #1997

Additional Details

Backend PR

Checklist

If focusing on a dependency, the graph is now built from a dataset of
de-duplicated components, drastically reducing the amount of data
needed for the pre-expanded graph.

Signed-off-by: RBickert <rbt@mm-software.com>
Signed-off-by: RBickert <rbt@mm-software.com>
@nscuro nscuro merged commit 651ded4 into DependencyTrack:master Dec 16, 2022
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.

2 participants