Skip to content

Comment on Gridlock vs. Bottlenecks: A visual explanation

Comments

Also a great way of visualizing some basic problem with concurrency.

Gridlock is excellent demonstrated as above, if you are putting things in a queue for a thread that is taking forever to run, the producer thread will eventually (hopefully) be blocked due to memory issues, thus passing the slow down further up the chain. Much like a road, and exactly like the visual effect seen here.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.