TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Suture – Supervisor Trees for Go

149 点作者 leef超过 10 年前

6 条评论

tel超过 10 年前
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 未加载
wyc超过 10 年前
Great article. I especially enjoyed the clear descriptive problem framing and discussion about Erlang processes versus goroutines.
评论 #8332049 未加载
mratzloff超过 10 年前
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 未加载
wcummings超过 10 年前
Why not just use Erlang?
评论 #8332182 未加载
评论 #8331928 未加载
spenrose超过 10 年前
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.
dman超过 10 年前
Any pointers on what blogging setup is being used at jerf.org for writing this post? I found the page pretty tasteful.
评论 #8334065 未加载