Re:On SQS
by gizzlon on Monday May 27, 2019 @11:07AM
(#20022677)
Guess it depends on the definition of "queue". Potentials:
[ Parent
| on HN ]
Seems like NATS streaming would fit my case - have you heard of any real world deployments that use it ? Are there any larger issues that don't make it a good choice ?
Re:On SQS
by manigandham on Monday May 27, 2019 @08:14PM
(#20026195)
NATS Streaming is not as well tested and has some design issues that make scaling hard. NATS itself has a new version 2 that has a protocol update and NATS Streaming should follow with a new design as well, but I would recommend other options if you want persistence.
What are the design flaws that you have in mind? Is it ok for a couple of nodes or even then it would have trouble to keep up with a medium load? Or maybe the design flaws are to do with providing durability and other guarantees?
What other options would you recommend, that can provide at least once delivery and are lighweight enough not to require zookeeper etc?
Re:On SQS
by manigandham on Tuesday May 28, 2019 @01:53PM
(#20032590)
Nats streaming isn't just a persistence layer to NATS. It's an entirely different system that basically acts as a client to NATS and then records messages it sees. Basically think of how you would design a persistent queue on top of the ephemeral NATS pub/sub and that's what NATS streaming is.
Here's a good post (and series) about distributed logs and NATS design issues: https://bravenewgeek.com/building-a-distributed-log-from-scr...
Is this what you meant ?
Re:On SQS
by tuxychandru on Monday May 27, 2019 @10:31PM
(#20026756)
Can you share some details or point to articles describing the design issues with NATS streaming?
Re:On SQS
by manigandham on Tuesday May 28, 2019 @01:53PM
(#20032591)
See the other comment but this is a good post/series: https://bravenewgeek.com/building-a-distributed-log-from-scr...
I am curious what definition of "queue" fits NSQ. It's a distributed messaging platform.
The normal one. It puts stuff in a queue.
"nsqd is the daemon that receives, queues, and delivers messages to clients."