1 Reply Latest reply on Aug 29, 2011 11:42 AM by csa

    How does Errai handle many quick successive broadcast events?

    navigateur

      Firstly, am I right that server broadcast calls are received by all client computers subscribed to it, regardless of which client computer initiates the call?

       

      Secondly, if there are many quick successive broadcast calls, how does Errai handle it?

      Does it queue those messages and send them all together on the next client download each time? (hopefully)

      Or does it do one request/response message at a time? (which could take ages)

       

      Also, is there a way to set it so that each client only gets the latest message in that "queue"?

        • 1. Re: How does Errai handle many quick successive broadcast events?
          csa

          <Firstly, am I right that server broadcast calls are received by all client computers subscribed to it, regardless of which client computer initiates the call?>

           

          Yes. See https://docs.jboss.org/author/display/ERRAI/Broadcasting .

           

          <Does it queue those messages and send them all together on the next client download each time? (hopefully)>

           

          Yes. If available, Errai will send multiple messages in a single transmission.

           

          <Also, is there a way to set it so that each client only gets the latest message in that "queue"?>

           

          No. The clients will receive all message that have been available during the transmission window.