Live data from Hacker News

Scaling NSQ to 750B Messages (2016)

segment.com

1–10 of 15 posts

Re: Scaling NSQ to 750B Messages (2016)

#3
Been using nats for a few projects lately and really enjoying it. One of the many great golang projects. Resource utilization compared to kafka is tiny.

Re: msq: Looks like segment are using kafka these days despite the praise for nsq in this dated article.

Re: Scaling NSQ to 750B Messages (2016)

#5
post #3

Been using nats for a few projects lately and really enjoying it. One of the many great golang projects. Resource utilization compared to kafka is tiny. Re: msq: Looks like segment are using kafka these days despite the praise for nsq in this dated article.

As of 2017 they were migrating everything over to Kafka: https://news.ycombinator.com/item?id=14451148

Re: Scaling NSQ to 750B Messages (2016)

#7
post #3

Been using nats for a few projects lately and really enjoying it. One of the many great golang projects. Resource utilization compared to kafka is tiny. Re: msq: Looks like segment are using kafka these days despite the praise for nsq in this dated article.

Out of curiosity, are you using the durable, NATS-Streaming server, or just the ephemeral NATS-server? I’d be interested to hear more about the performance differences you see.

Re: Scaling NSQ to 750B Messages (2016)

#10
post #9
post #8

I'm working at Segment now as a Software Engineer in Infrastructure. We just went through a big effort to remove NSQ (in favor of Kafka). Happy to answer any questions.

What pushed you to move to Kafka?

Reliability, scalability and tooling (in that order).

Basically Kafka provides what NSQ is lacking: https://nsq.io/overview/features_and_guarantees.html

Messages are durable (across nodes, not just persisted to the filesystem). Messages are delivered in-order (for a partition). Consumers know all partitions of a topic from startup, it's not eventually consistent.

NSQ has been great honestly, it was just designed with different use cases in mind.

Post reply on HN