Cougaar best practices

Todd Wright twright at bbn.com
Mon Dec 10 15:12:53 EST 2007


Development Innova4j wrote:
> Hello people,
> 
> I am working in my first Cougaar proyect, and i have some question about 
> the best practices in cougaar...
> 
> 1 - How agent redundancy is achieved?
> e.g I have a plugin that publishes a messages, and the message must be 
> procesed by two agents. (the master and backup).

The standard solution is for the plugin to publish two Relay blackboard 
objects, where each relay object specifies a remote "target" agent address.

A relay example is included in the Cougaar release, in the "demo-ping.zip". 
The ping demo is discussed in the Cougaar Overview slides:
   http://cougaar.org/docman/view.php/17/196/CougaarOverview.ppt

> 
> 2- In which cases should be used "Blackboard Serice" and the "Message 
> Transport Service".

Plugins should use the blackboard service.  The blackboard translates Relay 
objects into messages and handles the I/O.

> 
> 3- Where i can found some document about the Cougaar best practices?

See the "demo-ping.zip" and "demo-mandelbrot.zip".  Also see the Main documents at:
   http://docs.cougaar.org

Todd

> 
> Many thanks for your help.
> 
> Alex.
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Cougaar-developers mailing list
> Cougaar-developers at cougaar.org
> http://cougaar.org/mailman/listinfo/cougaar-developers



More information about the Cougaar-developers mailing list