Rabbit MQ
Rabbit MQ
AlvaroVidela
JasonJ.W .Williams
FOREWORDBY
ALEXISR
IC
HAR
DSO
N
M ANNING
SHELTER ISLAND
■
■
■
■ ■
■ ■
■ ■
■
■
■
■ ■
■
■
■ ■
■
■
■
Next message ID
Channel 1: 3
Channel 2: 2
Queue 1
m eta d a ta
q ueue na m e
d ura b le ?
a uto -d ele te ?
ow ne r no d e
Q ue ue 1
c ontents
Queue 1 Queue 1
m eta d a ta m etad a ta
Q ueue 1
c o ntents
Queue 1
m etad a ta Ra b b itMQ Queue 1 Ra b b itMQ
m eta d a ta
Queue 1 no d e no d e
c o ntents
Ra b b itMQ
sta nd a lo ne Ra b b itMQ
no d e no d e
Cluster
Exc ha ng e A Exc ha ng e A
routing _key1 routing _key1
routing _key 2 routing _ke y 2
routing _key 3 routing _ke y 3
Queue 1 m eta da ta
Ra b b itMQ
c luster
q ue ue .d e c la re
m y_queue
RAM
Ra b b itMQ
q ue ue .d e c la re
d isk nod e
m y_q ueue
Disk
Ra b b itMQ
RAM nod e RAM
Exc ha ng e A
Ra b b itMQ c luster
Master Slave
copy copy
(mirrored) (mirrored)
Custom er
Custom er sees: w w w
w eb 1 web2 w eb 3
Consume r Pro d uc e r
app app
loc alhost
Consume r Consum e r Co nsum e r
#1 #2 #3
loc a lhost
Co nsumer
Exc ha ng e A Exc ha ng e B
Q ueue 1 Que ue 2
Ra b b itMQ Ra b b itMQ
sta nd a lo ne server sta nd a lone server
ra b b it_a @loc a lhost ra b b it_b @loc a lhost
Consum er
Pa c em a ker
Exc hange A (c o ntrol virtua l IP, Exc ha ng e A
stora g e ow ner,
sta rts sta nd b y
ra b b it)
Q ue ue 1 Queue 1
Ra b b itMQ Ra b b itMQ
sta nd a lone server sta nd a lone server
ra b b [email protected] ra b b [email protected]