fasten-project / fasten

Analyse package dependency networks at the call graph level
https://www.fasten-project.eu
Apache License 2.0
86 stars 28 forks source link

Revise exception handling and lazy ingestion of REST API #494

Closed proksch closed 1 year ago

proksch commented 1 year ago

The lazy ingestion of packages is not only quite slow. Looking at the implementation, I found the current exception handling to be unnecessarily complex and the business logic for the ingestion to be very convoluted. We currently also download POM files on every request, which is quite an unnecessary load that we put on Maven Central.

This PR addresses these two points and consists of two main changes:

As a result, the answer to previously ingested packages should be much faster now and most requests should consume fewer resources, both for us and Maven Central.