Skip to content

Infrastructure-specific load testing #437

Description

@jimmymathews

@wooferclaw suggested adding the functionality of a load test for the live application, which is mainly about testing the infrastructure and deployment rather than the computation capability.

We actually have smprofiler/db/scripts/load_testing.py already, but that tests specific datasets and metrics rather than infrastructure scaling etc.

I propose a new metric type, for testing only, and a new subclass of GenericJobComputer which just does dummy CPU and memory consumption for a specific mildly randomized amount of time, the duration and CPU/memory amount being based on some parameters for the metric type.

Then we will make sure that the special handlers for edge cases for the real metrics (retries, timeouts, and null-insertion, etc.) are not invoked when doing this type of testing.

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

    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