Re: Current state of 2.0

2008-06-11 Thread Brian McCallister
Frequent (one a year is very very frequent) backwards incompatible API changes lead to no users. If ya'll take this roadmap I, for one, will go find some library which isn't going to dead end me in the *foreseeable* future. -Brian On Wed, Jun 11, 2008 at 10:09 AM, Emmanuel Lecharny [EMAIL

Re: Current state of 2.0

2008-06-11 Thread Brian McCallister
On Wed, Jun 11, 2008 at 10:37 AM, peter royal [EMAIL PROTECTED] wrote: On Jun 11, 2008, at 10:26 AM, Brian McCallister wrote: Frequent (one a year is very very frequent) backwards incompatible API changes lead to no users. If ya'll take this roadmap I, for one, will go find some library

Re: NIO vs NPTL+standard IO

2008-02-22 Thread Brian McCallister
You *will* almost always see better performance for blocking IO with a low number (1700 in his test) of connections/threads. NBIO is more interesting when you want a lot of connections. -Brian On Wed, Feb 20, 2008 at 11:03 AM, Rob Butler [EMAIL PROTECTED] wrote: I suspect this comes down to

Re: Subprocess connector?

2008-01-02 Thread Brian McCallister
On Dec 31, 2007, at 2:55 AM, James Mansion wrote: Has anyone considered how subprocesses might be accomodated in mina? It seems to me that this isn't quite like the serial port active connection support since we have three channels to manage. Perhaps if we had a process starter then we

Re: Mina 1 vs Mina 2 current

2007-12-14 Thread Brian McCallister
If the committers are recommending using trunk, that suggests it is time for a release. Seriously. -Brian On Dec 14, 2007, at 1:35 PM, Mike Heath wrote: mclovis wrote: mclovis wrote: We currently have NIO server code working based on our own current design. Looking at the Mina code we

Re: Type Safe handlers and filters

2007-10-25 Thread Brian McCallister
On Oct 24, 2007, at 8:42 PM, Trustin Lee wrote: Do we need Out parameter for IoFilter and NextFilter? I thought we don't. Please let me know if I am missing something. Only needed for a check at chain modification time. The key would be that you need to know what comes out of a filter in

Type Safe handlers and filters

2007-10-24 Thread Brian McCallister
For the Java 5 dependent branches, it would be awfully nice if we were to make IoHandler and IoFilter type safe with regard to received messages. This can be done two ways -- the first is mere decoration -- you add a type parameter for the message argument: interface IoHandlerIn {

Re: MINA + continuations

2007-10-24 Thread Brian McCallister
Very cool. Do you recall how Torsten did the continuations? Are they exception-and-replay based or does it rewrite the bytecode into a CPS style? -Brian On Oct 24, 2007, at 12:55 PM, Niklas Therning wrote: Hi guys, I've played around with combining commons-javaflow (continuations for

Re: 答复: reply: mina performance

2007-10-20 Thread Brian McCallister
On Oct 19, 2007, at 9:23 PM, mat wrote: Try to use FixedThreadPool instead of CachedThreadPool when add a ExecutorFilter. This goes against the advice at http://mina.apache.org/configuring-thread-model.html : Executors.newCachedThreadPool() is always preferred by IoService. It is

Re: MINA TCP/IP server clustering

2007-10-14 Thread Brian McCallister
On Oct 12, 2007, at 1:12 AM, Kumaran Arul wrote: Hi Has anyone got any experience with clustering MINA servers at a JVM level? How can we replicate IoSessions? Erm... unless MINA has added SCTP support, an IoSession is rather bound to a single host/port which doesn't lend itself to