uudashr / jsmpp

Java SMPP (Short Message Peer-to-peer Protocol) API
Apache License 2.0
123 stars 118 forks source link

Long Execution Time between submit_sm command and the server call the onAcceptSubmitSm method of the ServerMessageReceiverListener class #53

Open cforno opened 8 years ago

cforno commented 8 years ago

Hi Guys,

I was having an issue, because a client that connect to us are receiving a lot of 000000058 Errors(ResponseTimeOutExceptions) when they issue submit_sm command.

We have analized how many time take our method "onAcceptSubmitSm" on executing, and it is taking something arround 1 second. The client has setup 60000 millis as a timeout, so 1 second should be fine.

We have setup 20 as progressor degrees to be able to process in parallel more request.

Now the issue is, that the time between the client issue the submit_sm command and the method onAcceptSubmitSm get called begin for first messages in just some milliseconds, but after some hundreds of submit_sm, this time increase to 1,2,3,4,5 or more MINUTES.

We really dont know where to look to be able to increase the speed of this methos call.

Is this a server issue?

Thank you,

Best Regards