<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 7 Jan 2009, at 08:15, Bela Ban wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><br><br>Jason T. Greene wrote:<br><blockquote type="cite"><blockquote type="cite">BTW, is a *JGroups* streaming API necessary here? &nbsp;The old AS Farm service passed arbitrary sized files by sending byte[] chunks via RpcDispatcher calls. Worked fine. That's not quite what JBC would need, since FarmService read a chunk from a FileInputStream and passed it to JGroups; you'd want an OutputStream impl that would pass a chunk to JGroups when it's internal buffer reached size X.<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Their could be an abstraction in JBC that does this, however we are still missing the piece that says this message needs to go across a separate p2p tcp connection. Otherwise state transfer traffic will compete with live standard operations.<br></blockquote><br>I don't think that's a problem, because most traffic in JBC is multicast unless I'm mistaken.</div></blockquote><div><br></div><div>Not if you are using BR. &nbsp;BR traffic is unicast to buddy group members. &nbsp;Or if you have explicitly configured JBC to use a TCP stack.</div><br><blockquote type="cite"><div>Anyway, whether you use a separate channel, or reuse the existing channel doesn't matter because at the end of the day, all traffic uses the same underlying link to/from the switch. Even if you created a separate connnection (like with STREAMING_STATE_TRANSFER, which creates a separate TCP connection), this wouldn't make a difference.<br><br><blockquote type="cite">This problem is amplified when we have multiple state transfers going on.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I suppose we could dynamically create a new JGroups channel for this, but it seems like a lot of overhead for a single p2p connection.<br></blockquote><br>Yes, I wouldn't do this<br><br>-- <br>Bela Ban<br>Lead JGroups / Clustering Team<br>JBoss - a division of Red Hat<br>_______________________________________________<br>jbosscache-dev mailing list<br><a href="mailto:jbosscache-dev@lists.jboss.org">jbosscache-dev@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/jbosscache-dev<br></div></blockquote></div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>--</div><div>Manik Surtani</div><div>Lead, JBoss Cache</div><div><a href="http://www.jbosscache.org">http://www.jbosscache.org</a><br><a href="mailto:manik@jboss.org" target="_blank">manik@jboss.org</a></div><div><br></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"> </div><br></body></html>