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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Docker libswarm

106 点作者 fredkelly将近 11 年前

5 条评论

shykes将近 11 年前
Hi all, a quick warning: this is very rough and early, and not yet ready for production use.<p>What we&#x27;re aiming for is Unix-style composition. Because libswarm services communicate over unidirectional message streams (similarly to how goroutines communicate over channels [1]), they can be combined in a way similar to unix pipelines. This makes composition much easier, and is an elegant solution to the problem of hardcoded dependencies in service-oriented architectures (for service A to combine service B a C, it needs to know specifically B and C. Instead what you want the logic of A to be decoupled and re-usable with another component D, without changing it. That&#x27;s what unix-style composition allows).<p>TLDR: libswarm allows network services to be composed like unix commands. But it&#x27;s still very early!<p>[1] libswarm is built on a small library called libchan: <a href="https://github.com/docker/libchan" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;docker&#x2F;libchan</a>
评论 #7874163 未加载
shykes将近 11 年前
We introduced libswarm at Dockercon today, along with a few other projects. Here is the presentation: <a href="http://www.slideshare.net/shykes/docker-the-road-ahead" rel="nofollow">http:&#x2F;&#x2F;www.slideshare.net&#x2F;shykes&#x2F;docker-the-road-ahead</a>
评论 #7874631 未加载
dominotw将近 11 年前
&gt; Organize your application as loosely coupled services from day 1, without over-engineering.<p>Seems a little counterintuitive
评论 #7874398 未加载
ndyg将近 11 年前
What does libswarm offer over unix sockets?<p>Is the idea for the project to be a rallying point to normalize protocols for different services that already talk over unix sockets?
philwhln将近 11 年前
Blog post interview with Mr Hykes on libswarm can be found here <a href="http://bit.ly/libswarm" rel="nofollow">http:&#x2F;&#x2F;bit.ly&#x2F;libswarm</a>