cloudfoundry-community / stackdriver-tools

Stackdriver Nozzle for Cloud Foundry Loggregator, Host Monitoring Agents BOSH Release
Apache License 2.0
21 stars 13 forks source link

Automated Load Testing and Failure Testing #79

Closed johnsonj closed 6 years ago

johnsonj commented 7 years ago
evandbrown commented 7 years ago
  • Verify QPS

We need to get an idea of a baseline QPS. We can start by setting parameters on what the test environment looks like, tweak params as needed, and eventually get regression testing out of this. Here's a stab at the test environment:

Parameters should be adjusted to find the upper bound of QPS where some percentage (99?) of queries succeed.

  • Verify dropped messages are handled gracefully

After an upper bound QPS is established, the 2nd phase of a load testing pipeline should push past that bound, triggering failure in the form of dropped messages by the nozzle. Graceful handling of dropped messages is characterized by the nozzle logging the fact that it dropped messages via the fluentd client.

*Can we simulate cascading failure?

Deploy 2 nozzles to handle ~2x QPS, and scale the CF install to provide that QPS. Resize the nozzle job to only have 1 VM and observe its behavior. It should log what it's able to log and report dropped messages without crashing.

@johnsonj how's the for an initial outline?

johnsonj commented 7 years ago

LGTM

johnsonj commented 6 years ago

Closing due to age. This would be nice to have.