# Packages
Usage:
mtstress [flags] <command>
The mtstress commands are:
mount Measure latency of the Mount RPC at a fixed request rate
resolve Measure latency of the Resolve RPC at a fixed request rate
help Display help for commands or topics
The global flags are:
-duration=10s
Duration for sending test traffic and measuring latency
-rate=1
Rate, in RPCs per second, to send to the test server
-reauthenticate=false
If true, establish a new authenticated connection for each RPC, simulating
load from a distinct process
-alsologtostderr=true
log to standard error as well as files
-log_backtrace_at=:0
when logging hits line file:N, emit a stack trace
-log_dir=
if non-empty, write log files to this directory
-logtostderr=false
log to standard error instead of files
-max_stack_buf_size=4292608
max size in bytes of the buffer to use for logging stack traces
-metadata=<just specify -metadata to activate>
Displays metadata for the program and exits.
Command stress is a tool to stress/load test RPC by issuing randomly generated
requests.
Command stressd runs the stress-test server.
# Functions
StressClient returns a client stub for Stress.
StressServer returns a server stub for Stress.
# Variables
StressDesc describes the Stress interface.
# Structs
StressSumStreamServerCallStub is a wrapper that converts rpc.StreamServerCall into a typesafe stub that implements StressSumStreamServerCall.
Type definitions ================.
No description provided by the author
# Interfaces
StressClientMethods is the client interface containing Stress methods.
StressClientStub embeds StressClientMethods and is a placeholder for additional management operations.
StressServerMethods is the interface a server writer implements for Stress.
StressServerStub adds universal methods to StressServerStubMethods.
StressServerStubMethods is the server interface containing Stress methods, as expected by rpc.Server.
StressSumStreamClientCall represents the call returned from Stress.SumStream.
StressSumStreamClientStream is the client stream for Stress.SumStream.
StressSumStreamServerCall represents the context passed to Stress.SumStream.
StressSumStreamServerStream is the server stream for Stress.SumStream.