On 4/4/06, Steve Bate <[EMAIL PROTECTED]> wrote: > > > From: Trustin Lee [mailto:[EMAIL PROTECTED] > > You're right. The server will get broken throwing an > > OutOfMemoryError. We have to implement an IoFilter which > > prevents this situation. You can control the I/O traffic by > > calling IoSession.suspend/resumeRead/Write() > > method, so it should be done quite easily. > > Is there any equivalent to this capability in 0.8.2 (or > a workaround)? We're approaching the 1.0 release of QuickFIX/J > and it's currently using 0.8.2 since its listed as the newest > stable version of MINA. However, I'm concerned that our users > will start doing load/performance tests on the engine and > experience out of memory errors. I have a prototype flow control > filter for the writer side, but I hadn't considered that the > same problem could occur in the reader process.
Unfortunately, traffic control is not supported by MINA 0.8, though you can control the write traffic because IoSession.getScheduledWriteRequests() is there. Trustin -- what we call human nature is actually human habit -- http://gleamynode.net/ -- PGP key fingerprints: * E167 E6AF E73A CBCE EE41 4A29 544D DE48 FE95 4E7E * B693 628E 6047 4F8F CFA4 455E 1C62 A7DC 0255 ECA6
