The default threading model in 1.1.7 is to use the executor filter. I also tried removing it. Both don't help.
I tested this scenario using two PCs at the office connected with a crossover cable. The MINA server is reaching the 100 Mbps link speed limit. Why running on Amazon's instances yields such a poor performance?? On Wed, Nov 25, 2009 at 12:20 PM, Emmanuel Lecharny <[email protected]>wrote: > Zvika Gart wrote: > >> This is the code of my handler. It doesn't do anything. That's the point. >> The server should just consume the data as fast as it can. >> >> > Interesting. I have to test this code on my computer to see exactly what > can be the impact. > > Can you add an executor in the filter cxhain to see if it improves the > performance ? > > Strangely enough, Mina 2.0 performs even worse then 1.1.7 >> >> Is there some problem in using Java nio on Virtualized machines? >> >> > Not that I know about. Anyone else ? > > > -- > -- > cordialement, regards, > Emmanuel Lécharny > www.iktek.com > directory.apache.org > > >
