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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

NATS: First Impressions

24 点作者 _acco大约 1 年前

5 条评论

01HNNWZ0MV43FF大约 1 年前
<a href="https:&#x2F;&#x2F;nats.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;nats.io&#x2F;</a> (Tracker removed)<p>&gt; Connective Technology for Adaptive Edge &amp; Distributed Systems<p>&gt; An Introduction to NATS - The first screencast<p>I guess I don&#x27;t need to know what it is
评论 #39925271 未加载
Adiqq大约 1 年前
Does according to author, NATS is less reliable, if you want guaranteed ordering and to have multiple instances of worker, because NATS partitions lack &quot;auto-balance&quot; like in Kafka?<p>I would assume that NATS can be deployed in some Kubernetes cluster, so it would not be uncommon to have 3 or 5 workers. In this case, what would happen, if someone wanted guaranteed ordering and used that deterministic subject token partitioning?<p>Let&#x27;s assume that some worker would crash due to lack of storage space and it would keep restarting, so what happens to messages on this partition? Can they be processed, if specific worker is not available? Is it possible to react to this event and manually reassign these partitions to other workers? In case that there&#x27;s no event, then maybe it&#x27;s possible to write some script and run CronJob to manually check, if rebalance is needed?
Zambyte大约 1 年前
A feature not covered in this article that I recently learned about is republishing[0]. This is super useful, because it lets you essentially &quot;namespace&quot; parts of the network. You can use very short subject names for an isolated part of the network, and then republish to a more specific name as it gets pushed out to a larger network.<p>[0] <a href="https:&#x2F;&#x2F;docs.nats.io&#x2F;nats-concepts&#x2F;jetstream&#x2F;streams#republish" rel="nofollow">https:&#x2F;&#x2F;docs.nats.io&#x2F;nats-concepts&#x2F;jetstream&#x2F;streams#republi...</a>
felipendsdev大约 1 年前
Here in my company we&#x27;re running load tests against a POC application using NATS, and we&#x27;re afraid that it can&#x27;t handle some spikes in load that well. In some tests rounds the loss rate was a bit high. But I can&#x27;t say if it&#x27;s a NATS issue or our tests aren&#x27;t well dimensioned.
pizzafeelsright大约 1 年前
<i>If you were writing your own NATS client from scratch, this is how you&#x27;d publish a message: ...</i><p>Not how I would do it.
评论 #39922000 未加载