activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jose Luna <j-l...@rocketmail.com>
Subject Re: Need help with activemq - php architecture
Date Thu, 14 May 2009 00:47:22 GMT

----- Original Message ----
> From: zmiq2 <zzmiq2@gmail.com>
> To: users@activemq.apache.org
> Sent: Wednesday, May 13, 2009 12:20:11 PM
> Subject: Need help with activemq - php architecture
> 
> 
> I'm a newbie in activemq, and haven't found much info about setting the
> correct architecture for a high performance php - activemq cluster.
> 
> My planned architecture is:
> - activemq in server SQ
> - php in servers S1, S2
> 
> But i'm afraid of every call to a php script, have the php open a network
> connection to SQ, and then send the message to be handled. My idea would be
> to have each php server, S1 and S2, have a little queue relay where php
> scripts connect to its local relay, and it's the relay who, with a permanent
> link to SQ, manages the message transmission.
> 
> How does this architecture sound? Is it good? Where can I find a sample or
> tutorial of this architecture I'm proposing?
> 
> Thanks in advance.
> 
> -- 
> View this message in context: 
> http://www.nabble.com/Need-help-with-activemq---php-architecture-tp23525164p23525164.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.



If the messages can be delivered straight to the client, you should consider ajax (http://activemq.apache.org/ajax.html).
 This would prevent servers S1, S2 from being unnecessary relay points. If you're using Flash/Actionscript
client side, consider using the STOMP protocol ( http://activemq.apache.org/stomp.html, http://stomp.codehaus.org/Flash).

JLuna


      

Mime
View raw message