Test coverage documentation in MINA to promote more collaboration (Was: Re: mina and jdk6u4)

2008-02-13 Thread Alex Karasulu
I've been noticing and hearing many complaints about the amount of tests and overall coverage in the MINA code base. If there was more coverage contributors and committers would feel much more comfortable making changes knowing they're not going to break something. At some point we need to stop

Re: Blocking DNS queries (Was: Re: [AsyncWeb] Ideas for client)

2008-02-13 Thread (Trustin Lee)
2008-02-12 (화), 23:57 -0700, Mike Heath 쓰시길: 이희승 (Trustin Lee) wrote: 2008-02-12 (화), 11:16 -0700, Mike Heath 쓰시길: Eero Nevalainen wrote: Btw, what was the status of DNS resolution in MINA? I remember that at some point DNS resolving used the blocking java API calls. I could imagine

Usage of SimpleIoProcessorPool in MINA 2.0

2008-02-13 Thread Matthew Phillips
Hi all, I'm porting from MINA 1.1 to 2.0 and trying to convert this: SocketConnector connector = new SocketConnector (processors, executor); to the 2.0 equivalent. Since there's no constructor that takes a processor count and an executor, I looked at SimpleIoProcessorPool, and tried:

Re: Test coverage documentation in MINA to promote more collaboration (Was: Re: mina and jdk6u4)

2008-02-13 Thread (Trustin Lee)
Oh yeah, that's a good idea. We have been stepping on the accelerator for a very long time to implement new features and improve performance, so it seems like it's time to take care of stability. One problem is that most bug reports these days are not easy to reproduce, which means they are

Re: Blocking DNS queries (Was: Re: [AsyncWeb] Ideas for client)

2008-02-13 Thread Maarten Bosteels
On Feb 13, 2008 10:07 AM, 이희승 (Trustin Lee) [EMAIL PROTECTED] wrote: 2008-02-12 (화), 23:57 -0700, Mike Heath 쓰시길: 이희승 (Trustin Lee) wrote: 2008-02-12 (화), 11:16 -0700, Mike Heath 쓰시길: Eero Nevalainen wrote: Btw, what was the status of DNS resolution in MINA? I remember that at

Re: Test coverage documentation in MINA to promote more collaboration (Was: Re: mina and jdk6u4)

2008-02-13 Thread Alex Karasulu
I can provide such a lab. I just cannot reveal the contributing party. If you and others are interested please contact me offline. We've been trying to prepare a high concurrency environment for ApacheDS specifically so we can share this with MINA. We just need a solid plan for the

Re: Test coverage documentation in MINA to promote more collaboration (Was: Re: mina and jdk6u4)

2008-02-13 Thread Emmanuel Lecharny
이희승 (Trustin Lee) wrote: Oh yeah, that's a good idea. We have been stepping on the accelerator for a very long time to implement new features and improve performance, so it seems like it's time to take care of stability. I tink that MINA 2.0 is the perfect target for that ! Now that 2.0-M1

Re: Test coverage documentation in MINA to promote more collaboration (Was: Re: mina and jdk6u4)

2008-02-13 Thread (Trustin Lee)
LoL! That would be fantastic. :) 2008-02-13 (수), 10:54 +0100, Julien Vermillard 쓰시길: Hi BTW is it possible to have an ASF machine with two serial port wired in loop-back for being able to run automated serial transport tests ? Julien On Wed, 13 Feb 2008 04:47:40 -0500 Alex Karasulu

Re: Test coverage documentation in MINA to promote more collaboration (Was: Re: mina and jdk6u4)

2008-02-13 Thread Mark Webb
I think this is a great idea. As someone who was brought onboard to help with documentation as well as coding, I would have a hard time keeping up if this was a full-time job. I think it would make a great deal of sense to work on this for the 2.0 release, since feature creep should be at a

Re: doubt Mina

2008-02-13 Thread Adam Fisk
This would be a nice place for the good old visitor pattern, so something like, in SocketSession, SocketSession implements VisitableSession ... public void accept(final SessionVisitor visitor) { visitor.visitSocketSession(this); } Then you have a lot of flexibility with the visitor itself

Re: doubt Mina

2008-02-13 Thread (Trustin Lee)
I am not sure if it's a more flexible solution considering we are going to have more transports. For example, we have serial port communication transport, and we will have to add a visit method per each transport. Trustin 2008-02-13 (수), 09:58 -0500, Adam Fisk 쓰시길: This would be a nice place

Re: Test coverage documentation in MINA to promote more collaboration (Was: Re: mina and jdk6u4)

2008-02-13 Thread Mike Heath
I too would love to see a comprehensive test suite for MINA and I like the direction this thread is headed. I have been thinking for a couple of months now that using something like Amazon's EC2 would be a great test bed. (Except that we couldn't use EC2 to test the serial transport. :( ) It

Re: doubt Mina

2008-02-13 Thread brennohayden
to example echoserver, how to make this test: open 2 conection and send message simultaneous? someone did this? I want to check the performance of the example echoserver. some tips? thanks On 2/13/08, 이희승 (Trustin Lee) [EMAIL PROTECTED] wrote: I am not sure if it's a more flexible

Re: doubt Mina

2008-02-13 Thread Jeff Genender
FYI...if you are going to do this...you are gonna have to tweak your IP stack to be able to handle that many open sockets. Jeff [EMAIL PROTECTED] wrote: to example echoserver, how to make this test: open 2 conection and send message simultaneous? someone did this? I want to check

Re: Test coverage documentation in MINA to promote more collaboration (Was: Re: mina and jdk6u4)

2008-02-13 Thread Alex Karasulu
Swet. Lez do it - keep us posted on this. Alex On Feb 13, 2008 12:53 PM, Mike Heath [EMAIL PROTECTED] wrote: I too would love to see a comprehensive test suite for MINA and I like the direction this thread is headed. I have been thinking for a couple of months now that using something

Re: Test coverage documentation in MINA to promote more collaboration (Was: Re: mina and jdk6u4)

2008-02-13 Thread Mark Webb
How many machines would we need? Is this something that could be virtualized? On Feb 13, 2008 2:13 PM, Alex Karasulu [EMAIL PROTECTED] wrote: Swet. Lez do it - keep us posted on this. Alex On Feb 13, 2008 12:53 PM, Mike Heath [EMAIL PROTECTED] wrote: I too would love to see a

Re: doubt Mina

2008-02-13 Thread brennohayden
How to do I do this? On 2/13/08, Jeff Genender [EMAIL PROTECTED] wrote: FYI...if you are going to do this...you are gonna have to tweak your IP stack to be able to handle that many open sockets. Jeff [EMAIL PROTECTED] wrote: to example echoserver, how to make this test: open 2

Re: Test coverage documentation in MINA to promote more collaboration (Was: Re: mina and jdk6u4)

2008-02-13 Thread Mike Heath
Mark Webb wrote: How many machines would we need? Is this something that could be virtualized? With Amazon EC2 you create as many instances as you want so it would give us a great deal of flexibility. Each EC2 instance is virtualized so you're not getting exclusive access to a machine but

[jira] Updated: (DIRMINA-530) Compression filter - trivial bug fix and fix for use with SSL

2008-02-13 Thread Justin SB (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin SB updated DIRMINA-530: -- Attachment: patch-compression.diff Patch file fixes both issues. Compression filter - trivial bug

Re: [AsyncWeb] Ideas for client

2008-02-13 Thread Mike Heath
Sangjin Lee wrote: What I've seen with AHC is that the configuration is often the most challenging aspect. One metaphor I used is that HttpClient is more like a browser. Things like keep-alive, user-agent, accept-encoding, etc. normally belong to the browser and not at the individual request

[jira] Updated: (ASYNCWEB-4) caller supplied content is ignored, and some request headers may be added twice

2008-02-13 Thread Sangjin Lee (JIRA)
[ https://issues.apache.org/jira/browse/ASYNCWEB-4?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sangjin Lee updated ASYNCWEB-4: --- Attachment: ASYNCWEB-4.patch Moving over a bug fix from the G sandbox. Whenever we fix any issue,

[jira] Reopened: (ASYNCWEB-4) caller supplied content is ignored, and some request headers may be added twice

2008-02-13 Thread Sangjin Lee (JIRA)
[ https://issues.apache.org/jira/browse/ASYNCWEB-4?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sangjin Lee reopened ASYNCWEB-4: Assignee: Sangjin Lee (was: Rick McGuire) Reopening. caller supplied content is ignored, and

[jira] Moved: (ASYNCWEB-4) caller supplied content is ignored, and some request headers may be added twice

2008-02-13 Thread Sangjin Lee (JIRA)
[ https://issues.apache.org/jira/browse/ASYNCWEB-4?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sangjin Lee moved GERONIMO-3839 to ASYNCWEB-4: -- Security: (was: public) Component/s: (was:

Re: doubt Mina

2008-02-13 Thread Adam Fisk
I actually think that's exactly why the visitor pattern is nice -- the more transports you have, the better it gets because you can elegantly deal with the additional types rather than resorting to instansofs. The double-dispatch method calling is also a bigger performance boost the more types you

[jira] Commented: (ASYNCWEB-4) caller supplied content is ignored, and some request headers may be added twice

2008-02-13 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/ASYNCWEB-4?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12568791#action_12568791 ] Mike Heath commented on ASYNCWEB-4: --- Is this still an issue in the AsyncWeb common codec?