Cougaar and JXTA
Todd Wright
twright at bbn.com
Wed Mar 19 11:11:11 EDT 2008
Morgan Duchène wrote:
> Hi everybody,
>
> I am considering the sending of files between Cougaar nodes and it
> drives me to a few questions.
>
> I found some documents dating from JavaOne 2002 where Cougaar was tested
> with JXTA for peer-to-peer purposes. What was exactly demonstrated and
> what happened to that project?
It was a proof-of-concept. As far as I know, that was it.
Is there some reason why you're interested in JXTA? It's okay at message
passing, but I don't think it's amazing at file sharing.
>
> About the communication between two nodes, is there any route
> optimization to minimize transfer time as Skype does?
No, the standard Cougaar link protocols (Java-RMI, JMS, HTTP, CORBA, etc) all
use Sockets, so they'll follow the TCP/IP routing. The JMS routing can be
configured in the JMS servers, but I think that's more for getting past
firewalls than for optimization.
Obviously, the easiest thing to do is to use NFS or some equivalent shared
directory. NFS is very good at what it does.
If you want to send the files through Cougaar, you should first try sending
them as simple relays and see if the performance is acceptable. Maybe this
straight-forward solution will be fine. If the files are very large then you
might need to send them in smaller "chunks".
Lastly, your plugins could use some third-party library to move the files
around, e.g. FTP. Simply Google for "Java FTP".
Todd
>
> Thanks,
> Morgan
>
>
>
>
>
> _______________________________________________
> Cougaar-developers mailing list
> Cougaar-developers at cougaar.org
> http://cougaar.org/mailman/listinfo/cougaar-developers
>
More information about the Cougaar-developers
mailing list