Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Distributed agreement woes

by ruzam (Curate)
on Jul 03, 2010 at 02:43 UTC ( [id://847848]=note: print w/replies, xml ) Need Help??


in reply to Distributed agreement woes

decentralized distributed system sounds a lot like a clustered file system to me. Probably because I've never used clustered file systems, so I probably don't understand all the gritty details. But if you had a shared clustered (decentralized) folder that all hosts can see and write to, then each host could generate a unique "foo.host.txt" file in said shared folder (without need for worrying about locks and race conditions) and then each host could scan the directory for every other foo.host.txt file (file name pattern match) and apply what ever 'agree' logic you desire. You either trust the 'other' host file or ignore it, maybe with a verified start and end key to let you know you've read the whole file top to bottom without it (or any underlying buffers) changing on you. The file system should take care of the rest of any buffering/locking issues.

Just thinking out loud. Depending on your definition of 'agree', reading host files may be the least of your worries.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://847848]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (10)
As of 2024-04-23 09:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found