Re: WriteFuture clarification

2008-01-14 Thread Emmanuel Lecharny
Luis Neves wrote: Emmanuel Lecharny wrote: Luis Filipe dos Santos Neves wrote: Mark wrote: Does not sound like it is working as planned. Do you have a test program that demonstrates this behavior? Yes. You can test the code below using netcat: nc -i 5 localhost 1234 I get an err

Re: WriteFuture clarification

2008-01-14 Thread Emmanuel Lecharny
Luis Neves wrote: Emmanuel Lecharny wrote: Luis Filipe dos Santos Neves wrote: Mark wrote: Does not sound like it is working as planned. Do you have a test program that demonstrates this behavior? Yes. You can test the code below using netcat: nc -i 5 localhost 1234 I get an err

Re: WriteFuture clarification

2008-01-14 Thread Luis Neves
Emmanuel Lecharny wrote: Luis Filipe dos Santos Neves wrote: Mark wrote: Does not sound like it is working as planned. Do you have a test program that demonstrates this behavior? Yes. You can test the code below using netcat: nc -i 5 localhost 1234 I get an error while executing

Re: WriteFuture clarification

2008-01-14 Thread Emmanuel Lecharny
Luis Filipe dos Santos Neves wrote: Mark wrote: Does not sound like it is working as planned. Do you have a test program that demonstrates this behavior? Yes. You can test the code below using netcat: nc -i 5 localhost 1234 I get an error while executing your code : Exception in

Re: WriteFuture clarification

2008-01-14 Thread Mark
I am using netcat in cygwin. I will continue to look into this. Maybe some others on the list have ideas... On Jan 12, 2008 4:07 AM, Luis Neves <[EMAIL PROTECTED]> wrote: > Hello, > > Mark wrote: > > This is my output: > > > > Listening on port 1234 > > Session Opened > > Time for write:31 ms >

Re: WriteFuture clarification

2008-01-12 Thread Luis Neves
Hello, Mark wrote: This is my output: Listening on port 1234 Session Opened Time for write:31 ms Time for write:32 ms This is much different from my results. Are you using netcat to test? Does the windows version of netcat honours the "-i" flag? Here's the output I get after writing 1

Re: WriteFuture clarification

2008-01-11 Thread Mark
This is my output: Listening on port 1234 Session Opened Time for write:31 ms Time for write:32 ms My setup is: Windows XP Dual Core 1.66GHz 2GB RAM I can certainly understand where you are coming from here. I am wondering if over the course of 50,000 messages getting written to the client that

RE: WriteFuture clarification

2008-01-11 Thread Luis Filipe dos Santos Neves
Mark wrote: > Does not sound like it is working as planned. Do you have a test program > that demonstrates this behavior? Yes. You can test the code below using netcat: nc -i 5 localhost 1234 * public class WriteRequestSnafuServer { private s

Re: WriteFuture clarification

2008-01-10 Thread Mark
Does not sound like it is working as planned. Do you have a test program that demonstrates this behavior? On Jan 10, 2008 7:40 PM, Luis Neves <[EMAIL PROTECTED]> wrote: > > > Hello all, > > I'm running some tests with slow clients connected to a server that uses > the > recent WriteThrottleFilt

WriteFuture clarification

2008-01-10 Thread Luis Neves
Hello all, I'm running some tests with slow clients connected to a server that uses the recent WriteThrottleFilter with a BLOCK policy and I'm having some unexpected behaviour. What I want is for the server to block the sending of messages when the write queue is full, but, I do not want to