On Fri, Aug 10, 2018 at 11:47 AM Azoff, Justin S <jaz...@illinois.edu> wrote:
> If relay is removed how does a script writer efficiently get an event from > one worker (or manager) > to all of the other workers? Old Worker: Cluster::relay_rr(Cluster::proxy_pool, my_event); New Worker: Broker::publish(Cluster::rr_topic(Cluster::proxy_pool), my_event); New Proxy: event my_event() { Broker::publish(Cluster::worker_topic, my_event); } So the proxy has additional overhead of the proxy's event handler. I doubt that's much a problem from the "efficiency" standpoint, but if it were, then just having more proxies helps. Once real routing were available the code would still work or you could opt to change to just: Even Newer Worker: Broker::publish(Cluster::worker_topic, my_event); See any problems there? - Jon _______________________________________________ bro-dev mailing list bro-dev@bro.org http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev