TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Gridlock vs. Bottlenecks: A visual explanation

199 pointsby vicapowover 10 years ago

8 comments

kaji88over 10 years ago
This is just an excellent visualization to explain a concept that is hard to imagine.<p>Lots of difficult concepts are actually very simple once you boil them down to the fundamentals and visualize them.<p>This has big implications for education. Many concepts like derivatives in finance, algorithmns in computer science are suprisingly simple.<p>I remember a visualization for Paxos (a distributed consensus algorithmn) which basically have an actor to represent each node in the network. That was the moment I finally &quot;got it&quot;.<p>It is a shame that educators are still so backwards at how they communicate concepts to students. and how ineffective that is. I think it comes down to the fact that professors in universities have to play dual role of being a researcher + to teach. And since they are recognized for publishing papers and not so much for making helpful visualzations to explain concepts to first year students. Education part is neglected.
评论 #8261461 未加载
valarauca1over 10 years ago
Also a great way of visualizing some basic problem with concurrency.<p>Gridlock is excellent demonstrated as above, if you are putting things in a queue for a thread that is taking <i>forever</i> 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.
mrtksnover 10 years ago
I like how dynamics of complex systems are getting so captivating and easy to understand by visually simplified simulations rather than mathematical expressions.<p>The human mind somehow grasps these dynamic, subconsciously creates an in-brain simulation and you can predict what will happen when you play with the parameters on the computer simulation. It just feels so natural.
评论 #8260497 未加载
dj-wonkover 10 years ago
So fun. For kicks, I just spent more than a few minutes trying to find a semi-steady equilibrium where, say 80% to 90% of cars are temporally stalled without pushing the system into total gridlock.<p>Just now, I got it down to only one car moving for about a quarter of the circle. Then you really have to pay attention to which car is going where. :)
TheLoneWolflingover 10 years ago
Has anyone had an experience of &quot;gridlock&quot; in a distributed system? Where bottlenecks cascade due to failover, etc?
评论 #8261207 未加载
malnourishover 10 years ago
This is a great visualization that is relevant to my coursework. Thank you.
lewis500over 10 years ago
Glad everyone liked it. Going to make one about why buses bunch up in the future.
评论 #8263727 未加载
kmkswamyover 10 years ago
what tools are used for dynamic graphs in this visualization? is it google visualization api?
评论 #8261305 未加载