https://github.com/iximiuz/producer-consumer-vis
Producer-consumer problem visualization
https://github.com/iximiuz/producer-consumer-vis
backpressure buffering producer-consumer queue
Last synced: 3 months ago
JSON representation
Producer-consumer problem visualization
- Host: GitHub
- URL: https://github.com/iximiuz/producer-consumer-vis
- Owner: iximiuz
- License: mit
- Created: 2019-04-07T15:02:40.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-02T16:19:43.000Z (almost 6 years ago)
- Last Synced: 2025-06-24T08:53:50.249Z (3 months ago)
- Topics: backpressure, buffering, producer-consumer, queue
- Language: JavaScript
- Homepage: https://iximiuz.com/en/posts/nodejs-writable-streams-distilled/
- Size: 850 KB
- Stars: 14
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.