Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <ul> <li><p>RabbitMQ is has an <a href="http://www.rabbitmq.com/tutorials/tutorial-six-python.html" rel="nofollow">RPC tutorial</a>. I haven't used this pattern in particular but I am running RabbitMQ on a couple of nodes and it can handle hundreds of connections and millions of messages. With a little work in monitoring you can detect when there is more work to do then you have consumers for. Messages can also timeout so queues won't backup too greatly. To scale out capacity you can create multiple RabbitMQ nodes/clusters. You could have multiple rounds of RPC so that after the first response you include the information required to get second message to the correct destination.</p></li> <li><p>0MQ has this as a <a href="http://zguide.zeromq.org/page%3aall#advanced-request-reply" rel="nofollow">basic pattern</a> which will fanout work as needed. I've only played with this but it is simpler to code and possibly simpler to maintain (as it doesn't <em>need</em> a broker, <code>devices</code> can provide one though). This may not handle stickiness by default but it should be possible to write your own routing layer to handle it. </p></li> <li><p>Don't discount HTTP for this as well. When you want request/reply, a strict throughput per backend node, and something that scales well, HTTP is well supported. With AWS you can use their ELB easily in front of an autoscaling group to provide the routing from frontend to backend. ELB supports <a href="http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/US_StickySessions.html" rel="nofollow">sticky sessions</a> as well. </p></li> </ul> <p>I'm a big fan of RabbitMQ but if this is the whole scope then HTTP would work nicely and have fewer moving parts in AWS than the other solutions. </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload