dashersw / dashersw/cote

Question: is there any 'nats' alike queue-group possible now or in future?

Open
#233 4 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.4k
Forks
184
PR merge metrics
No merged PRs in 30d

Description

Hi, I am impressed and eager to test out cote because of your mesh-like discovery features.

The only feature I am missing (or not might have found) is something called "queue-groups" in nats:

https://github.com/nats-io/nats.js#queue-groups

Say you have a publisher emitting an event. And you have some worker-groups running multiple processes for different concerns. Example:

- Group A running 5 workers
- Group B running 5 workers

A published event (or might be a request?) should be processed by only 1 A worker + only 1 B worker. And of course, the publisher won't know anything about groups or workers, just emitting "something.done" to anyone interested.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with cote’s existing mesh-like discovery and event/request entry points, then compare their delivery semantics with the nats.js queue-groups behavior linked in the issue. Done requires a maintainer-approved scope for whether grouped delivery is supported or should be designed; the payload names no implementation files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
backend, distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.