Skip to content

Report generation is slow and prone to failure #564

@pietroalbini

Description

@pietroalbini

Generating Crater reports is now really slow compared to a year or two ago, as Crater is handling an ever-increasing amount of crates it needs to test. Lately the Crater server also started crashing when generating the report of some runs. There are two main causes I see for this:

  • When generating the report tarballs of all the logs are created to aid processing the results locally. Each tarball is fully kept in memory before being persisted to S3 though, so with an higher enough number of logs the server could OOM.
  • Uploading the logs is really slow, as Crater currently uploads one file to S3 at the time. With hundreds of thousands of logs to upload this quickly becomes a problem.

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