[Bro] more &synchronized questions

Robin Sommer robin at icir.org
Wed Apr 10 13:37:53 PDT 2013



On Wed, Apr 10, 2013 at 11:24 -0400, you wrote:

> effect of two cluster nodes simultaneously running ++foos[0]$foo similar to
> simultaneously running ++bars[0]?

Yes, it's similar. The operation is propated for the specific record
instance being modified, along with the record field where it applies
to.

> Also, does a "X += N" instruction propagate to all nodes as "increment by
> N" or as "set to X+N?"

The former, it's an actual increment operation. If multiple increments
are sent, nodes may diverge briefly while not everybody has seen all
updates yet, but eventually they'll all arrive at the same value.

Robin

-- 
Robin Sommer * Phone +1 (510) 722-6541 *     robin at icir.org
ICSI/LBNL    * Fax   +1 (510) 666-2956 * www.icir.org/robin



More information about the Bro mailing list