iximiuz / producer-consumer-vis

Producer-consumer problem visualization

Home Page:https://iximiuz.com/en/posts/nodejs-writable-streams-distilled/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Producer-consumer problem visualization

https://iximiuz.com/en/posts/nodejs-writable-streams-distilled/

License:MIT License


Languages

Language:JavaScript 84.3%Language:CSS 8.0%Language:HTML 7.7%