Re: [jgroups-dev] Creating a STUNT protocol for JGroups?
Bela Ban <[email protected]> Tue, 19 Oct 2010 16:11:20 +0200
| Newsgroups | gmane.comp.java.javagroups.devel |
|---|---|
| Message-ID | <[email protected]> |
Mike Jensen wrote: > Thanks for your reply. You make excellent points and I agree, I don't > think STUNT is very doable. I looked a bit at STUN for UDP, and it's a bit more involved than I thought... > I thought about using UDP, but I am not confident how my system will > work with it. I think it'll work great. But make sure to add FRAG2 and UNICAST(2) to your config. It might even be faster as no connection management is required. > I will spend some time playing with that today. but it > might be a long startup time to learn the tools. Which tools ? > Any advice on what/how to force packet loss in a udp system? Yes, either generate a lot of traffic, so the switches start dropping packets, or use one of the JGroups protocols (such as DISCARD), or create your own protocol to discard random messages. > Would NS2 be my best tool to simulate something like that? AFAIR, ns2 was quite involved to get it running... > With that said, I think it needs to be tested. But I can't point to any > specific reason jgroups existing reliability mechanisms wont work. I think this will work brilliantly, especially given that this is all point-to-point unicasting, which doesn't require recipients to store messages, stability messages, distributed message garbage collection and so on ! > I expect that it will probably work fine. Knowing this first though will > help me decide if I want to work on a STUN protocol. > > As always, thanks for your help! np -- Bela Ban Lead JGroups / Clustering Team JBoss ------------------------------------------------------------------------------ Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev _______________________________________________ Javagroups-development mailing list