Skip to content

Writing to the database is a major bottleneck #311

@dfulu

Description

@dfulu

Below shows the timeline of a recent run of this app. The x-axis is seconds since the task was triggered, and it shows when different steps in the app start. The biggest piece is writing the results to the database which took a full 5 minutes.

This motivates trying to speed up pushing to database

Image

Extra notes:

  • In this run we were using the 15-minutely satellite data, so we needed to interpolate the satellite to 5 minutely. This took more time than when we use the RSS
  • In this setup we are running 9 models in total including some which use cloudcasting as inputs
  • This was run with 2 vCPU cores and 12GB RAM
  • This is from the current cloudcasting branch

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions