drum-demo

command
v0.94.0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package main demonstrates why identifying the correct drum (constraint) matters in a pipeline. Three scenarios process the same work through parse → transform → store, where transform is 10× slower.

The demo tracks resource consumption over the pipeline's lifetime: total items in flight (aggregate WIP), estimated memory footprint, and per-stage queue depth.

Run:

go run ./examples/drum-demo/

Jump to

Keyboard shortcuts

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