ChatDiagram
Petri Net · Petri

Producer / consumer with a bounded buffer — Petri Net

The bounded-buffer producer/consumer pattern as a Petri net — complementary free/used slot places enforce the buffer size, a timed withdraw transition models the consumer's rate, and place capacity caps the buffer at three slots. Tokens flowing through free→used→free show backpressure as a structural property.

Type Petri netStandard Murata 1989 + ISO/IEC 15909-1Engine schematex-petriUpdated 5/26/2026
Producer / consumer with a bounded buffer
Drawing preview
The request

“Create a Petri net for a producer and consumer sharing a bounded buffer with three free slots and one token for each ready worker.”

Then tryChange the buffer capacity to five.Add a second consumer token.
More like this

Other examples in this family.

Browse all petri net templates →