Skip to content

Allow HTTP GET response body to be discarded #725

@sankalp-khare

Description

@sankalp-khare

Proposal

Add an option that instructs vegeta to discard the response body instead of storing it in memory.

Background

Currently when vegeta downloads files (HTTP GET) it stores the received response body in memory (I've been load testing against a 2.5G file and if I do n requests/sec, the memory usage grows to 2.5 x nG.

I want to instrument a large distributed load test suite that doesn't consume a heavy amount of memory. The ideal solution would be to stream the received request body into /dev/null or equivalent, and not consume memory to store it.

Workarounds

I don't know of a workaround for this behaviour.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions