1 Middleware latency
Phantom-101 edytuje tę stronę 2025-08-23 21:36:46 +08:00

S3Proxy can simulate latency and read/write speeds by sleeping and throttling streams, which can be helpful for performance testing. Simulated latency (in ms) is supported for all operations. Simulated speed (in kb/s) is only supported for put blob, get blob, upload multipart part, and stream blob. The simulated latency and speeds can be specified across all operations or for just one:

s3proxy.latency-blobstore.*.latency=1000 # use 1000ms latency for all operations
s3proxy.latency-blobstore.put.latency=2000 # use 2000ms latency for put blob instead

s3proxy.latency-blobstore.*.speed=100 # use 100 kb/s for all operations
s3proxy.latency-blobstore.get.speed=10 # use 10 kb/s for get blob instead

All operation names:

  • container-exists
  • create-container
  • container-access (get or set container access)
  • list (list blobs in a container)
  • clear-container
  • delete-container
  • directory-exists
  • create-directory
  • delete-directory
  • blob-exists
  • put (put blob)
  • copy (copy blob)
  • metadata (get blob metadata)
  • get (get blob)
  • remove (remove blob)
  • blob-access (get or set blob access)
  • count (count blobs in a container)
  • multipart-message (initiate, abort, or complete multipart upload)
  • upload-part
  • list-multipart
  • multipart-param (get minimum, maximum multipart part size, or maximum number of parts)
  • download (download blob)
  • stream (stream blob)