Dear All,

 

      We have developed one server using Apache MINA V2.0.9 (last week we
have upgraded it to MINA V2.0.16) where multiple vendors connect and send
the messages which needs to be processed and then response have to be sent
back to vendor. Currently we have put a strategy that vendor has to send one
message per connection and after getting response or timeout vendor has to
close the connection. Also we have set timer for each vendor session so that
we close the connection after timeout if vendor does not close the
connection explicitly after getting response or timeout for their request.
      
      We also have persistence connection open from our MINA based server
with third party server which is tcp/ip channel and for each vendor request
we get we have to send the received message to this third party server. 

 

            The Vendor to our Server connectivity is on TLS 1.0 and for past
few days we are observing the slow connectivity establishment from Vendor to
Our server.  We are having issue with imbalance in session read and write.
We could see that more reads are happening but less writes. Due to which the
responses back to client are happening late even after our core processing
is over. We are writing the timestamp in message read and message write
event. Can anybody put more light on this and help us balance the threads
giving equal opportunities to read and write.

 

 

Thanks And Regards,

Nitin Phuria

 

Reply via email to