Roux.Test.BlobStress (roux v0.2.1)

Copy Markdown View Source

Loops run in peer VMs (separate OS processes) against one store, for Roux.Blob.ReplaceTest: each runs for ms milliseconds and reports what it saw.

Summary

Functions

Adopts a fresh empty output over and over: the bytes of the empty entry.

A link of digest to dest, and a read of it: {link result, get result}.

Links the empty entry into a scratch directory, and reads it, over and over: %{links: n, failed_links: [reason], misses: n}.

Puts the empty bytes over and over.

Functions

adopt_loop(store, ms)

Adopts a fresh empty output over and over: the bytes of the empty entry.

put_loop(store, ms)

Puts the empty bytes over and over.