1
0
mirror of https://github.com/taigrr/nats.docs synced 2025-01-18 04:03:23 -08:00

Update queue.md

This commit is contained in:
Ginger Collison 2019-10-04 11:27:05 -05:00 committed by GitHub
parent 318b514b47
commit 1773413796
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,20 +9,6 @@ One of the great features of NATS is that queue groups are defined by the applic
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.
<div class="graphviz"><code data-viz="dot">
digraph nats_queues {
rankdir=LR
publisher [shape=box, style="rounded", label="Publisher"];
subject [shape=circle, label="Queue"];
sub1 [shape=box, style="rounded", label="Subscriber"];
sub2 [shape=box, style="rounded", label="Subscriber"];
sub3 [shape=box, style="rounded", label="Subscriber"];
publisher -> subject [label="msgs 1,2,3"];
subject -> sub1 [label="msg 2"];
subject -> sub2 [label="msg 1"];
subject -> sub3 [label="msg 3"];
}
</code></div>
![](/assets/images/queue.svg)
Try NATS queue subscriptions on your own, using a live server by walking through the [queueing tutorial](../tutorials/queues.md).