Skip to content

Full examples

Complete applications, each a whole program that measures the property it exists to demonstrate, and each one run before it ships.

Updated View as Markdown

The tutorials in each client section show one mechanism at a time. These are applications: the whole program, with the parts a real one has and an example usually leaves out.

Each is built around a property that is hard to get and easy to claim, and each measures that property instead of asserting it in prose.

What “run before it ships” means here

The programs live in examples/apps/ in the repository. The build extracts each file between its first and last line and includes it verbatim, so what you read is the file that ran. Every program asserts its own outcome and exits non-zero when an assertion fails:

QUEEN_URL=http://localhost:6632 examples/apps/run.sh

Each program uses a queue name with a unique suffix per run, because delete-then-recreate under the same name currently leaves stale partition state for up to 30 seconds in which deduplication does not deduplicate. Fresh names are the reliable pattern.

If you want one mechanism rather than one application, start from a client’s tutorials: JavaScript, Python, Go, Rust, PHP, C++ or HTTP.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close