No subject


Sun Jun 17 23:12:48 BST 2012


But if we do not set any user permissions, simply use rabbitmq system 
default guest user, and create 5000 unique connections/queues to the 
server, our client side message rate is 12000 messages per second. 


My question is: what contributes to the 30% performance degradation?

------=_Part_346_9598291.1348268065627
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"arial, sans-serif" size=3D"2">Based on descriptions on Rabbit=
MQ access control,&nbsp;
<a href=3D"http://www.rabbitmq.com/access-control.html">http://www.rabbitmq=
.com/access-control.html</a>&nbsp;:&nbsp;"<span style=3D"color: rgb(85, 85,=
 85); line-height: 18px; ">RabbitMQ may cache the results of access control=
 checks on a per-connection or per-channel basis." Based on this statement,=
 rabbitmq access control operations should not impose too much load on the =
server performance.&nbsp;</span></font><div><span style=3D"color: rgb(85, 8=
5, 85); line-height: 18px; "><font face=3D"arial, sans-serif" size=3D"2"><b=
r></font></span></div><div><font color=3D"#555555" face=3D"arial, sans-seri=
f" size=3D"2"><span style=3D"line-height: 18px;">But in our test, we have 5=
000 client connections over SSL, each client is set with a configure/write/=
read&nbsp;permissions&nbsp;like this:</span></font></div><div><span style=
=3D"color: rgb(85, 85, 85); line-height: 18px; "><font face=3D"arial, sans-=
serif" size=3D"2"><br></font></span></div><div><p class=3D"MsoNormal" style=
=3D"margin: 0in 0in 0.0001pt; color: rgb(0, 0, 0); line-height: normal; "><=
font face=3D"arial, sans-serif" size=3D"2">Configure: {client_name}.*|^amq\=
.gen.*|^amq\.default|^<span id=3D"DWT367" class=3D"ZmSearchResult" style=3D=
"background-color: rgb(255, 254, 196); ">vsm</span>.*&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font></p><p class=3D"MsoNormal" sty=
le=3D"margin: 0in 0in 0.0001pt; color: rgb(0, 0, 0); line-height: normal; "=
><font face=3D"arial, sans-serif" size=3D"2">Write: {client_name}.*|^amq\.g=
en.*|^amq\.default&nbsp;&nbsp;&nbsp;&nbsp;</font></p><p class=3D"MsoNormal"=
 style=3D"margin: 0in 0in 0.0001pt; color: rgb(0, 0, 0); line-height: norma=
l; "><font face=3D"arial, sans-serif" size=3D"2">Read: {client_name}.*|^amq=
\.gen.*|^amq\.default|^<span id=3D"DWT369" class=3D"ZmSearchResult" style=
=3D"background-color: rgb(255, 254, 196); ">vsm</span>.*</font></p><p class=
=3D"MsoNormal" style=3D"margin: 0in 0in 0.0001pt; color: rgb(0, 0, 0); line=
-height: normal; "><font face=3D"arial, sans-serif" size=3D"2"><br></font><=
/p><p class=3D"MsoNormal" style=3D"margin: 0in 0in 0.0001pt; color: rgb(0, =
0, 0); line-height: normal; "><font face=3D"arial, sans-serif" size=3D"2">O=
ne publisher publishes 10 message per second to an exchange, message size i=
s 1KB, &nbsp;each client/consumer creates a queue and bind to this exchange=
, and we have a total of 5000 unique clients with its own queues.&nbsp;</fo=
nt></p><p class=3D"MsoNormal" style=3D"margin: 0in 0in 0.0001pt; color: rgb=
(0, 0, 0); line-height: normal; "><font face=3D"arial, sans-serif" size=3D"=
2"><br></font></p><p class=3D"MsoNormal" style=3D"margin: 0in 0in 0.0001pt;=
 color: rgb(0, 0, 0); line-height: normal; "><font face=3D"arial, sans-seri=
f" size=3D"2">From the client side, we can receive about 8000 messages per =
second.</font></p><p class=3D"MsoNormal" style=3D"margin: 0in 0in 0.0001pt;=
 color: rgb(0, 0, 0); line-height: normal; "><font face=3D"arial, sans-seri=
f" size=3D"2"><br></font></p><p class=3D"MsoNormal" style=3D"margin: 0in 0i=
n 0.0001pt; color: rgb(0, 0, 0); line-height: normal; "><font face=3D"arial=
, sans-serif" size=3D"2">But if we do not set any user permissions, simply =
use rabbitmq system default guest user, and create 5000 unique connections/=
queues to the server, our client side message rate is 12000 messages per se=
cond.&nbsp;</font></p><p class=3D"MsoNormal" style=3D"margin: 0in 0in 0.000=
1pt; color: rgb(0, 0, 0); line-height: normal; "><font face=3D"arial, sans-=
serif" size=3D"2"><br></font></p><p class=3D"MsoNormal" style=3D"margin: 0i=
n 0in 0.0001pt; color: rgb(0, 0, 0); line-height: normal; "><font face=3D"a=
rial, sans-serif" size=3D"2">My question is: what contributes to the 30% pe=
rformance degradation?</font></p></div>
------=_Part_346_9598291.1348268065627--

------=_Part_345_18526745.1348268065620--


More information about the rabbitmq-discuss mailing list