Skip to content

Investigate the bottlenecks in the codebase, causing slow imports #210

Description

@sbs2001

There are many possible causes of slow imports

  1. Time spent in fetching data. This includes fetching the data(actual advisories + Version API calls) : Consider async for this.

  2. Time spent in processing the data. This include converting data into Advisory. I can't think these can be significantly optmised further

  3. Time spent in writing data to DB. This is possibly the bottleneck. Maybe a better indexing strategy, and reducing db queries.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions