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.

Bastion – Highly-available distributed fault-tolerant runtime

201 pointsby windorabout 5 years ago

10 comments

eltetoabout 5 years ago
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 未加载
paulsutterabout 5 years ago
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
windorabout 5 years ago
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 未加载
mkjabout 5 years ago
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 未加载
jokoonabout 5 years ago
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 未加载
davidwabout 5 years ago
Looks like good work! I&#x27;m curious about why I might use this instead of Erlang.
评论 #22405860 未加载
xanthabout 5 years ago
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>
dana321about 5 years ago
Runtime for what? Does it only run rust code?
pronoiacabout 5 years ago
Odd name - bastion hosts, aka jumpboxes or homeboxes, are also the access points that bridge different security zones, like internet to a secure VPC.
spurdoman77about 5 years ago
Can someone elaborate use cases for this?
评论 #22406872 未加载
评论 #22405778 未加载
评论 #22405842 未加载