I'm trying to write a simple Perl script that will run on N hosts in a decentralized distributed system. The script will make a text file "foo.txt" and then query every other host in the system to see if the contents of "foo.txt" agree. Naturally, this has turned out to be much, much harder than it sounds.
Does anyone know how to do this with minimal effort on my part? I would very much prefer not to deal with database transactions, distributed file locking issues, proving that race conditions can't occur, and all the other nasty things that might be involved in making this work. The ideal would be some sort of cpan module that does 95% of the work, but I would be OK with using non-Perl code or even another freestanding program that I could magically call with system(). I can't seem to find a good starting point though. Any ideas? Thanks!
In reply to Distributed agreement woes by andrew732
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |