4 ms·
I think the thing this is most comparable to is NSQ, but NSQ takes a different approach to distribution. - disque: send to one, read from one. The message is h
by JulianMorrison 12y ago
I think the thing this is most comparable to is NSQ, but NSQ takes a different approach to distribution.
- disque: send to one, read from one. The message is handed off to N replicas, and efforts are made to avoid duplicated or dropped messages. Disque will refuse new messages if RAM is filled across the cluster.
- nsq: send to any. Read from all. NSQ nodes do not communicate or coordinate with each other. Since only one node originates the message, there's no duplication, but a node outage can drop messages, and a partition can isolate them with no consumer. NSQ can grow its queue beyond RAM, so it will keep accepting new messages even if it is partitioned from the consumer.
Personally I think NSQ's approach looks like it's doing a lot less work and achieving almost all the same guarantees.