Personal project

Producer–Consumer Simulator

Visual simulator of concurrency synchronization using a bounded buffer.

JavaScriptConcurrency

What it does

  • Process synchronization
  • Race condition prevention

Details

Project overview.

Built in JavaScript, this visual simulator demonstrates how producers and consumers coordinate when they operate at different speeds. A bounded buffer controls access to shared data and illustrates the synchronization needed to avoid lost work and race conditions. The changing buffer state makes the concurrency model easier to inspect as the processes run.

More Work

Other projects from the same portfolio.