News for hackers. Stuff that matters.
Re:On SQS by polskibus on Monday May 27, 2019 @05:13PM (#20025294)
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.
Re:On SQS by polskibus on Tuesday May 28, 2019 @12:37AM (#20027244)
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...

Re:On SQS by polskibus on Tuesday May 28, 2019 @02:55AM (#20027817)
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...