Even if you running on a single processor, as you are writing into file, I
would recommand to use a pool of threads to write onto files.
You current setting prevents MINA from reading the socket while writing the
previous packet to the file.
Jeff
On Tue, Mar 26, 2013 at 2:59 AM, pongjy123
Le 3/26/13 2:59 AM, pongjy123 a écrit :
with no packet loss,Mina UDP server receives packet can reach 10/s? Only
receive packets and sequential write files, do not do anything else.
1/s cannot be achieved in my test environment,
DatagramSessionConfig dcfg =
Le 3/26/13 9:44 AM, Jeff MAURY a écrit :
Even if you running on a single processor, as you are writing into file, I
would recommand to use a pool of threads to write onto files.
You current setting prevents MINA from reading the socket while writing the
previous packet to the file.
I forgot
Finally I found a bit of time for a new try :
https://git-wip-us.apache.org/repos/asf?p=mina.git;a=tree;f=codec/src/main/java/org/apache/mina/codec;h=bdd9419b66f3368bd693ff597e30f955fae2d5f9;hb=1a4ad866eb25e509a8eb4b5d52e4660152cc5ded
The encoder, decoder are immutable and a state is passer fior
Chris Janicki created DIRMINA-941:
-
Summary: DefaultIoFilterChain (or any other class) should not
catch Throwable without re-throwing
Key: DIRMINA-941
URL: https://issues.apache.org/jira/browse/DIRMINA-941
thanks,I will try another solution, A thread is responsible for receiving UDP
messages, one thread is responsible for writing documents, through the queue
communication between threads.
At 2013-03-26 16:44:00,Jeff MAURY jeffma...@jeffmaury.com wrote:
Even if you running on a single processor,