App-Diskd
view release on metacpan or search on metacpan
lib/App/Diskd.pm view on Meta::CPAN
=over
=item 1. using multicast to send and receive data among several peers
=item 2. communicating with local clients via a Unix domain socket
=item 3. using POE to achieve both of the above
=item 4. using POE to periodically run an external program without blocking
=item 5. encapsulating a data structure that can be accessed and updated by the above
=back
The information shared between peers in this example is the list of
disks that are currently attached to each system. The "blkid" program
is used to gather this information. It reports on all disks attached,
regardless of whether the disk (or partition) is currently mounted or
not.
A copy of diskd should be run on each of the peer machines. The first
( run in 0.286 second using v1.01-cache-2.11-cpan-05444aca049 )