hammer

command
v0.0.0-...-6e42c0c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

README

Hammer: A load testing tool for serverless logs

This hammer sets up read and (optionally) write traffic to a log to test correctness and performance under load.

If write traffic is enabled, then the target log must support POST requests to a /add path.

Usage

As an example for testing the serving capabilities of the Armored Witness CI log:

SERVERLESS_LOG_PUBLIC_KEY=transparency.dev-aw-ftlog-ci-2+f77c6276+AZXqiaARpwF4MoNOxx46kuiIRjrML0PDTm+c7BLaAMt6 go run ./hammer -v=2 \
  --log_url=https://api.transparency.dev/armored-witness-firmware/ci/log/2/ \
  --origin="transparency.dev/armored-witness/firmware_transparency/ci/2"

This will start a text-based UI in the terminal that shows the current status, logs, and supports increasing/decreasing read and write traffic. The process can be killed with <Ctrl-C>.

Documentation

Overview

hammer is a tool to load test a serverless log.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL