News for hackers. Stuff that matters.
Re:Chatto is now Open Source by lofties on Wednesday July 08, 2026 @08:41PM (#48839464)
Wow, it's using NATS! I used NATS extensively 10+ years ago, and I'm happy to hear it's still around. Our infrastructure had hiccups across our fleet of machines, but one part that always remained up and running without complaining on some dinky machine was NATS. Well, that and Redis. No complaints ever.
Re:Chatto is now Open Source by freakynit on Wednesday July 08, 2026 @10:13PM (#48840112)
We are building something B2B expected to have good enough scale ... we had to choose between kafka, nats, redpanda and rabbitMQ .... We went ahead with NATS .... don't know why, but, when we went through all the docs, including setup and operational, NATS just felt right.
Re:Chatto is now Open Source by bobkb on Wednesday July 08, 2026 @11:25PM (#48840611)
We are in the same decision making stage and trying to choose between rabitMQ, Kafka, NATS and some solutions built on top of Redis.

Did NATS eventually worked well?

Re:Chatto is now Open Source by freakynit on Thursday July 09, 2026 @12:14AM (#48840909)
Excellent. We already tested at okayish scale of 5 million messages per minute, with each message being less than 1KiB. Do note that NATS can easily handle 100x this scale. It's just what we had tested during initial days.
Re:Chatto is now Open Source by bobkb on Thursday July 09, 2026 @02:35AM (#48841789)
Wow!

I have a stupid question - as I understand NATS works very well as a “message” pipe/bus. Anyway to get Redis type cache functionality as well ? Is it something possible ?

Re:Chatto is now Open Source by freakynit on Thursday July 09, 2026 @03:21AM (#48842117)
JetStream (not NATS) has a built-in key/value store. Relevant thread (old, from 2023): https://github.com/nats-io/nats.go/discussions/1507

someone did some benchmarks in 2025:

    nats bench kv put --size="128" --msgs 1000000 --storage file
    1m3s → Pub stats: 15,656 msgs/sec ~ 1.91 MB/sec
    
    nats bench kv get --size="128" --msgs 1000000
    59s → Sub stats: 16,720 msgs/sec ~ 2.04 MB/sec
I have personally not used this though.
Re:Chatto is now Open Source by bobkb on Thursday July 09, 2026 @03:31PM (#48851244)
Thank you! Jetstream looks useful. For a platform which is production our Redis costs are getting prohibitively high. I was on the look for alternatives and perhaps in the software reliability tool [0] I am buildin try out Jetstream.

[0] https://github.com/bobinson/vulture

Re:Chatto is now Open Source by freakynit on Friday July 10, 2026 @12:08AM (#48855648)
Cool... "vulture" looks pretty good... especially more now-a-days. Thanks..

I also maintain these sites for npm related attacks (since there have been so many since past 1.5 years):

1. Techniques exploited: https://npm-supply-chain-attack-techniques.pagey.site/

2. Documented attacks: https://npm-supply-chain-attacks-25-26.pagey.site/

Re:Chatto is now Open Source by withinboredom on Friday July 10, 2026 @05:57AM (#48857900)
I’d also recommend looking at Swytch (docs.getswytch.com, particularly the economics page).

Disclosure: I’m a founder.

Re:Chatto is now Open Source by hendrikmans on Thursday July 09, 2026 @05:24AM (#48843165)
Hi, Chatto developer here.

NATS and its built-in Jetstream stream persistence engine are a miracle. I love them both so much. And if your app is itself written in Go, you can just embed them for simple deployment scenarios (like Chatto does.)

Re:Chatto is now Open Source by moeffju on Thursday July 09, 2026 @05:39AM (#48843299)
Inspired by Chatto, I also built some prototypes on the NATS (+Go) stack and it's been a dream. Feels like a severely under-hyped technology :D