mirror of
https://github.com/taigrr/nats.docs
synced 2025-01-18 04:03:23 -08:00
Move queue permissions, hint at queue name hierarchy, add/fix links
Signed-off-by: Matthias Hanel <mh@synadia.com>
This commit is contained in:
@@ -4,6 +4,8 @@ NATS provides a built-in load balancing feature called distributed queues. Using
|
||||
|
||||
To create a queue subscription, subscribers register a queue name. All subscribers with the same queue name form the queue group. This requires no configuration. As messages on the registered subject are published, one member of the group is chosen randomly to receive the message. Although queue groups have multiple subscribers, each message is consumed by only one.
|
||||
|
||||
Queue group names follow the same naming rules as [subjects](subjects.md). Foremost, they are case sensitive and cannot contain whitespace. Consider structuring queue groups hierarchically using `.`. Some server functionalities can use [wildcard matching](subjects.md#wildcards) on them.
|
||||
|
||||
One of the great features of NATS is that queue groups are defined by the application and their queue subscribers, not on the server configuration.
|
||||
|
||||
Queue subscribers are ideal for scaling services. Scale up is as simple as running another application, scale down is terminating the application with a signal that drains the in flight requests. This flexibility and lack of any configuration changes makes NATS an excellent service communication technology that can work with all platform technologies.
|
||||
|
||||
Reference in New Issue
Block a user