Trustin,
Shall I open entries in JIRA for a Selector Pool class and a Service worker
pool class? Sounds like you are more in tune with what you want to do. I
think it would make more sense for you to add in the entry(s).
Thanks,
Mark
On 9/25/07, Trustin Lee [EMAIL PROTECTED] wrote:
No, not
A Selector pool something like:
http://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/NioSelectorPool.java
On 9/25/07, Trustin Lee [EMAIL PROTECTED] wrote:
On 9/25/07, Mark [EMAIL PROTECTED] wrote:
Wouldn't it make sense to multiplex a Selector across
Wouldn't it make sense to multiplex a Selector across multiple channels in
order to efficiently manage threads since you can have multiple channels
being monitored by one selector. You could have 10 channels, 1 selector in
the main thread and 1 I/O thread. Currently, 10 channels would mean 10
As long as the size of the pool could = 1.
Has any work been done on this?
Thanks Trustin.
--
..Cheers
Mark
On 9/25/07, Trustin Lee [EMAIL PROTECTED] wrote:
On 9/25/07, Mark [EMAIL PROTECTED] wrote:
Wouldn't it make sense to multiplex a Selector across multiple channels
in
order to
No, not yet. It's must to have in 2.0 though. :)
Cheers,
Trustin
On 9/25/07, Mark [EMAIL PROTECTED] wrote:
As long as the size of the pool could = 1.
Has any work been done on this?
Thanks Trustin.
--
..Cheers
Mark
On 9/25/07, Trustin Lee [EMAIL PROTECTED] wrote:
On 9/25/07, Mark
On 9/21/07, Gary Helmling [EMAIL PROTECTED] wrote:
Mark Webb wrote:
I am interested in having one IoAcceptor listen on multiple ports. This
acceptor will have one Selector and based on the incoming connection/data,
the proper handler will be triggered.
This would be pretty useful for
Trustin,
Where can I find more information regarding this sentance:
No matter how many acceptor or connector instances are
created, the number of I/O threads will be maintained in an optimal
number.
So if I create 2 SocketAcceptor instances each with different IoHandlers,
how can I/MINA
restructuring in
the trunk?
Thanks,
Gary
--
View this message in context:
http://www.nabble.com/multiple-handlers-per-IoService-tf4481513s16868.html#a12799299
Sent from the Apache MINA Support Forum mailing list archive at Nabble.com.
Can this be done with MINA now? I would like to put together a framework
that will have one Acceptor and register multiple IoHandlerApapters each
processing different types of data.
--
..Cheers
Mark
It would also be nice if we had some way of sharing thread pools and
selectors between Acceptors and Connectors. It would take quite a bit
of refactoring but it may be nice feature to have for those of us
building proxies that have multiple acceptors and multiple connectors
working in
10 matches
Mail list logo