best way to send messages to many peers
"John D. Blair" <[email protected]> Fri, 9 Sep 2005 22:51:24 -0700
| Newsgroups | gmane.comp.java.jxta.user |
|---|---|
| Message-ID | <[email protected]> |
I am expecting to send a message to a large number of peers (100 to 1000) approximately once a minute over a unicast pipe. I would like to avoid creating each pipe and then tearing it down for each message-- this doesn't seem very efficient. Should I maintain an OutputPipe for each of these peers, storing them in a data structure so I can look them up when I need to deliver a message? Is there a way I can offload this work onto JXTA so my app doesn't have to do this work itself? thanks again, -john.