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.

Suture – Supervisor Trees for Go

149 pointsby leefover 10 years ago

6 comments

telover 10 years ago
It would be interesting to see what it takes to get this functionality (at least locally) into Haskell given that there <i>are</i> asynchronous exceptions... even ones with arguably greater safety than their Erlang compatriots.<p>A similar effort is happening with the Cloud Haskell program, but my understanding is that they&#x27;re pouring a lot of effort into transmitting arbitrary Haskell functions over the wire between computers. This is pretty unnecessary for supervision and &quot;Let it Crash&quot;-style error handling alone.
评论 #8332505 未加载
评论 #8334269 未加载
评论 #8332508 未加载
wycover 10 years ago
Great article. I especially enjoyed the clear descriptive problem framing and discussion about Erlang processes versus goroutines.
评论 #8332049 未加载
mratzloffover 10 years ago
This was interesting simply for the explanation of Erlang systems, but as for the project itself I currently use Supervisor (<a href="http://supervisord.org" rel="nofollow">http:&#x2F;&#x2F;supervisord.org</a>) for this purpose, and I&#x27;ve been pretty happy with it.<p>Any reasons to make the switch?
评论 #8332098 未加载
wcummingsover 10 years ago
Why not just use Erlang?
评论 #8332182 未加载
评论 #8331928 未加载
spenroseover 10 years ago
I did something similar in Python, using Redis for the &quot;operating system&quot; and Linux processes. The system managed wide sets of parallel I&#x2F;O operations with second-level latency. Worked great, albeit orders of magnitude slower than something like this. If you keep the supervisor on the same machine, you can do async exceptions via kill.
dmanover 10 years ago
Any pointers on what blogging setup is being used at jerf.org for writing this post? I found the page pretty tasteful.
评论 #8334065 未加载