what do you do on the server side with the data you
receive ?
Jin > I will parse the XML and store in to database but for my current
testing I have taken out all those. Now just left this line in
messageReceived() method: logger.info( "###>>> Received Data: " + xmlData );
Initially my thought is t
Am 15.08.2014 08:22, schrieb Alexander Christian:
Personally, I think it's a good idea to keep the code in IoHandler
very small and simple, and forward the "work" to a dedicated
thread-pool/executor-service.
In my code, all the IoHandler is doing, is to check which kind of
message is received
Am 15.08.2014 08:15, schrieb Jon V.:
Yes, if the iohandle is blocking the execution then that would obviously do
it That said I am not sure how the reactor threading in Mina would handle
very small messages sent in a way that prevents the data from aggregating.
Difference is 20k individual trig
Yes, if the iohandle is blocking the execution then that would obviously do
it That said I am not sure how the reactor threading in Mina would handle
very small messages sent in a way that prevents the data from aggregating.
Difference is 20k individual triggers or 1k triggers for the same number
Le 15/08/14 05:41, Jon V. a écrit :
> Emmanuel, is there a line test tool for Mina? I ask because seems like the
> Jedi Jin here has a throughput problem.
Something like
http://blog.softlayer.com/2011/using-iperf-to-troubleshoot-speedthroughput-issues
should do the trick. But here, with the client
Emmanuel, is there a line test tool for Mina? I ask because seems like the
Jedi Jin here has a throughput problem.
Jin,
Have you tried benchmarking your code directly? In all reality I process
30k sockets and 500mb/s using raw TCP in java so if there is a problem it
is either your code or Mina.
H
Hi there,
I am using Apache Mina to develop a TCP server that handles incoming XML
messages. There is around 60 to 80 concurrent messages sending to TCP
server per minute. If the messages below 60 the TCP server is working fine
and there is no delay receiving the request but problem arises when mo
Hi all,
I am trying to get a test XMPP server up using Vysper, I followed the
instructions here "http://mina.apache.org/vysper-project/embed.html"; to
write the following code:
XMPPServer server = new XMPPServer("myembeddedjabber.com");
server.addEndpoint(new TCPEndpoint());
// choose the