Skip to content

[RESEARCH] Check how different logging methods affect memory consumption in a worker #16

@AlexPykavy

Description

@AlexPykavy

Cases to consider:

  • func (c *Cmd) Output() ([]byte, error) & func (c *Cmd) CombinedOutput() ([]byte, error)
  • cmd.Stdout = os.Stdout
  • r, cmd.Stdout, err := os.Pipe()
  • func (c *Cmd) StdoutPipe() (io.ReadCloser, error)

Cover it with tests if possible, e.g. run worker in a Docker container with memory limit set to 32MB.

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