activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexandry <grobo...@gmail.com>
Subject AMQ+stomp+php performance issues
Date Tue, 21 Feb 2012 08:28:27 GMT
Hi, i have the following configuration
http://activemq.2283324.n4.nabble.com/file/n4406306/activemq.xml
activemq.xml 
and the following code in php
http://activemq.2283324.n4.nabble.com/file/n4406306/test_s.php test_s.php 

when i run it without sending any messages time to check if there are frame
takes about 2s !
php test_s.php
Connect 0.10
subscribe 0.10
read1 2.09
read2 4.08
read3 6.07
bool(false)
total 6.07

but where there are exist message times to check is much less. Any idea how
i can make it to check more quick?
# php test_s.php send

Connect 0.10

sent0.10

subscribe 0.10

read1 0.21

read2 0.21

read3 0.21
object(StompFrame)#2 (3) {
  ["command"]=>
  string(7) "MESSAGE"
  ["headers"]=>
  array(5) {
    ["message-id"]=>
    string(54) "ID:grobokop.evaxsoft.ru-34968-1329811831410-4:9:-1:1:1"
    ["destination"]=>
    string(11) "/queue/foo3"
    ["timestamp"]=>
    string(13) "1329812810172"
    ["expires"]=>
    string(1) "0"
    ["priority"]=>
    string(1) "4"
  }
  ["body"]=>
  string(3) "bar"
}

total 0.21



--
View this message in context: http://activemq.2283324.n4.nabble.com/AMQ-stomp-php-performance-issues-tp4406306p4406306.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message