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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Bastion – Highly-available distributed fault-tolerant runtime

201 点作者 windor大约 5 年前

10 条评论

elteto大约 5 年前
How is runtime fault-tolerance achieved? My understanding of Erlang is that the BEAM VM implements these capabilities (custom threads, supervision, restarts, hot reload), but it is one level removed and above actual code. And they implement their own user-space threading runtime in order to support them. But in Rust, there is no such runtime (or is Bastion implementing one?) and it seems like this is used as a library. I&#x27;m very curious.<p>I think another way to frame my question would be: which is the basic unit of parallel execution in Bastion? A thread? Or a separate process? There are mentions of lightweight processes and subprocesses in the README but it is rather vague what these are.
评论 #22405885 未加载
评论 #22406241 未加载
评论 #22404479 未加载
paulsutter大约 5 年前
Could we hear a little more about the background of the project, including what it&#x27;s being developed for? Really interested to learn more about the project, this looks great
windor大约 5 年前
Very appreciate the work on bastion, which really gets the spirit of erlang actor programming with the supervisor-ing strategy! The code is clean and well documented, and I cannot believe the project is not well-known by rust communities.
评论 #22403987 未加载
mkj大约 5 年前
This looks promising, though the &quot;No Forced Trait Implementations&quot; seems to instead require using a strange looking msg!() macro?<p><a href="https:&#x2F;&#x2F;docs.rs&#x2F;bastion&#x2F;0.3.4&#x2F;bastion&#x2F;macro.msg.html" rel="nofollow">https:&#x2F;&#x2F;docs.rs&#x2F;bastion&#x2F;0.3.4&#x2F;bastion&#x2F;macro.msg.html</a><p>Seems less clean to read than Riker (<a href="https:&#x2F;&#x2F;riker.rs" rel="nofollow">https:&#x2F;&#x2F;riker.rs</a>), though that doesn&#x27;t really do async well.
评论 #22403913 未加载
jokoon大约 5 年前
I have hard time understanding what this is. Is an alternative to docker somehow? What other framework&#x2F;platform would bastion compete with?
评论 #22404285 未加载
评论 #22404127 未加载
评论 #22404112 未加载
评论 #22404080 未加载
评论 #22406953 未加载
davidw大约 5 年前
Looks like good work! I&#x27;m curious about why I might use this instead of Erlang.
评论 #22405860 未加载
xanth大约 5 年前
I wonder how this performs in comparison to actix[1] &amp; axiom[2]?<p>1. <a href="https:&#x2F;&#x2F;github.com&#x2F;actix&#x2F;actix" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;actix&#x2F;actix</a> 2. <a href="https:&#x2F;&#x2F;github.com&#x2F;rsimmonsjr&#x2F;axiom" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;rsimmonsjr&#x2F;axiom</a>
dana321大约 5 年前
Runtime for what? Does it only run rust code?
pronoiac大约 5 年前
Odd name - bastion hosts, aka jumpboxes or homeboxes, are also the access points that bridge different security zones, like internet to a secure VPC.
spurdoman77大约 5 年前
Can someone elaborate use cases for this?
评论 #22406872 未加载
评论 #22405778 未加载
评论 #22405842 未加载