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.

NATS: First Impressions

24 pointsby _accoabout 1 year ago

5 comments

01HNNWZ0MV43FFabout 1 year ago
<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 未加载
Adiqqabout 1 year ago
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?
Zambyteabout 1 year ago
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>
felipendsdevabout 1 year ago
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.
pizzafeelsrightabout 1 year ago
<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 未加载