Re: [jgroups-dev] How to implement/use flow control in JGroups
Vladimir Blagojevic <[email protected]>
| Newsgroups | gmane.comp.java.javagroups.devel |
|---|---|
| Message-ID | <[email protected]> |
On 2010-08-15, at 11:10 PM, Mike Jensen wrote: > I think I found a good solution here. Let me know if you see any > problems with this. > > I have set it up to use TCP, and removed the FC protocol. I then > configured TCP to not use the send queue. It seems that this allows us > to block (I assume from the kernel level from a quick inspection). I > then just added a thread pool to handle calling back to alert we are > ready to send more. Any worries about this setup? No that is ok. > > I tried to remove STABLE and NAKACK. As I did not understand a need for > these with the use of TCP (unless a server goes down, in which case I am > not concerned). But I continue to get warnings where it says > digest=null. But I noticed that these protocols are in the default TCP > xml config files. My question is what do these provide on a TCP layer? > No, you absolutely need both STABLE and NAKACK. Cheers ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Javagroups-development mailing list