[jgroups-dev] Does UDP support positive acks?
Dan Noguerol <[email protected]> Wed, 25 May 2011 10:42:40 -0600
| Newsgroups | gmane.comp.java.javagroups.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi all, I'm developing an Android application that uses JGroups for peer-to-peer eventing. My requirements are very similar to TCP in that I require immediate and guaranteed delivery of messages in the order sent. Basically, updating a GUI element on one device needs to propagate to all other devices as quickly and reliably as possible. It would be really nice to keep things connectionless (for several reasons) and use UDP but I've only seen a way to do negative acknowledgements. This has the unfortunate effect of not detecting missed messages until a subsequent message is received and the gap is discovered. Events in my application are fairly infrequent (one every couple of minutes) so this is unacceptable. Is there a way to do positive acknowledgements with UDP in JGroups? For now, I've been running with TCP but am seeing some reliability issues with it. I'm debating whether to start debugging the TCP issues or figure out a way to use UDP. Any thoughts or suggestions would be very helpful. Thanks in advance! ->Dan ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Javagroups-development mailing list