Producer-Consumer problem visualization The model shows backpressure and buffering mechanisms at work. The following parameters are configurable: min/max time to produce a chunk of data; min/max time to consume a chunk of data; queue capacity (i.e. buffer size). See working example here. Read article about it here.