Skip to content

Repository files navigation

Go Report CardBuild StatusGoDoc

Agent

The go-lo Agent exposes a set of gRPC endpoints designed to run go-lo Loadtests, as created with go-lo/go-lo, which are packed into containers.

The agent takes a schedule which looks like:

version: job:latestschema:
name: "my loadtest"users: 1024duration: 900container: somecontainer:latest

It will then enqueue this job- only one job is run at a time; multiple running jobs can affect results by creating agent network contention.

When running a job, an agent will:

  1. Run the container, exposing the job's gRPC server
  2. Try to connect to the job container, following an exponential backoff strategy
  3. Create a pool of 1024 users, each of which will trigger a job run every second
  4. After 900 seconds have elapsed, close the user pool, and kill the container
  5. Wait for another job to schedule

Interacting with the Agent

This project comes with a cli

About

Run go-lo schedules and push results to one or more collectors

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages