[Spread-users] spread local message patch

Camp, TracyX E tracyx.e.camp at intel.com
Mon Sep 18 17:16:44 EDT 2006

Another patch for comment against 4rc2 that I've found useful for
developing spread applications.  This patch adds a flag similar to
SELF_DISCARD, but called LOCAL_MESS.  This flag indicates that while the
message is being sent to a group, it should only be delivered to locally
joined members.  Locally means on the node that the message was sent.
This is useful when creating client/server type applications across
spread where the client may wish to send similar messages to servers
across the cluster and locally.  

A (contrived) example might be a system that spawns jobs, if the client
knows that enough resources exist locally it might only attempt the job
creation locally by sending the job only to the local server process,
whereas otherwise it might broadcast the job to the entire group.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: localmess.patch
Type: application/octet-stream
Size: 8440 bytes
Desc: localmess.patch
Url : http://lists.spread.org/pipermail/spread-users/attachments/20060918/57fc7ce0/attachment.obj 

More information about the Spread-users mailing list