order_pipeline

command
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2026 License: BSD-3-Clause Imports: 24 Imported by: 0

Documentation

Overview

order_pipeline is an end-to-end showcase of bubblepprof instrumentation on a realistic-looking workload. It simulates a small order-checkout service: a synthetic traffic generator feeds a pool of ingest workers, each order fans out into fraud / dispatch / inventory / recommendation stages, then funnels through payment authorization and receipt rendering, with per-tenant aggregators retaining recent receipts so the memusage endpoint has meaningful per-bubble heap.

The standard runtime/pprof endpoints are still mounted at /debug/pprof because bubblepprof does not replace pprof; it augments it.

Try it:

go run ./examples/order_pipeline -duration 30s &
curl -X POST http://127.0.0.1:6060/debug/memusage \
  -H 'Content-Type: application/json' \
  -d '{"labels":{"tenant":"atlas-bikes"}}'

Jump to

Keyboard shortcuts

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