in reply to Distributed agreement woes

You don't seem to have given this much thought. Otherwise, you'd specify who has the master copy, and how arbitration of differences would be handled.

If you only want to find whether a copy is the same across all nodes, just distribute the file to all nodes and have them send notifications back. Quite easy.

Replies are listed 'Best First'.
Re^2: Distributed agreement woes
by andrew732 (Novice) on Jul 02, 2010 at 22:30 UTC
    Not only have I given it a lot of thought, I think I described exactly what I want to do about as concisely as humanly possible. Notice that I said every host must independently construct the file i.e., there is no master. Also notice that I don't care about how differences are handled, I just want each host to know whether it is different from any other host.
      But being concise isn't necessarily enough -- you should aim for concise and descriptive, like your last sentence: "I just want each host to know whether it is different from any other host". Examples can also help.

      Also, keep in mind that many monks are used to seeing short posts asking for help with no example code where the OP clearly did not put a lot of thought into it. See e.g. How to convert a shell script to Perl? (note that originally there were no code tags). If you are too concise then your post may look like one of those, especially when just skimming it over it!! Not what you want, obviosuly!!

      In the future, aim for a better balance between being concise and explaining some details. And many monks like to have an idea of what problem you are actually trying to solve (e.g. why you want your servers to detect if they are different).

      Elda Taluta; Sarks Sark; Ark Arks