-
1. Re: Streaming in R3
dmlloyd Jul 28, 2008 8:13 AM (in response to trustin)In R2 there is a new connection, but it does not support more than one stream per request in any case.
In R3 we definitely will use a multichannel facility if it is available (SSH). I plan to use an XNIO ChannelSource to produce channels for R3 streams - the implementation could just create a separate connection but the intent is to use multiplexing whenever it is available. -
2. Re: Streaming in R3
trustin Jul 28, 2008 8:38 AM (in response to trustin)It's a good idea to reuse a particular number of dedicated connection(s) to transfer streams.
On the other hand, we will have to split a stream into small chunks to assure minimum QoS of streaming more than one stream with one connection. And then we could fulfill a possible use case that requires no more than one connection. -
3. Re: Streaming in R3
dmlloyd Jul 28, 2008 9:06 AM (in response to trustin)Yeah, the ChannelSource can implement pooling if needed. In terms of QoS... I think that is up to the transport. Sockets for example are handled by the OS of course. Other transports specify how bandwidth is shared as well. I think it should be up to the channel implementation to keep stream handlers as simple as possible.
-
4. Re: Streaming in R3
ron_sigal Jul 28, 2008 5:16 PM (in response to trustin)By the way, I'm not aware of any JBoss code that uses Remoting streaming, so maintaining streaming compatibility between Remoting 2 and 3 may not be of the highest priority.
-
5. Re: Streaming in R3
starksm64 Jul 28, 2008 5:30 PM (in response to trustin)There are two pieces of code in jbossas that use the streaming function to transfer deployment archives to the server.
-
6. Re: Streaming in R3
dmlloyd Jul 28, 2008 5:39 PM (in response to trustin)Hm, nevertheless that's an interesting point. Compatibility is a bit more straightforward if we can disregard the old streaming stuff I think.