Page 1 of 1

DeliverAsync-missing/big delay of DLR

Posted: Wed May 20, 2020 3:27 pm
by developerlearn999
one of my customers complains about missing/big delay of DLR
when i use client.DeliverAsync, without await first,
is it possible that there is some queue that wait for release ?
how can i check it?

Re: DeliverAsync-missing/big delay of DLR

Posted: Wed May 20, 2020 3:31 pm
by alt
Do you use .Result or .Wait for the Task?

Re: DeliverAsync-missing/big delay of DLR

Posted: Wed May 20, 2020 4:02 pm
by developerlearn999
No,
this is why i asked if there is possible a queue of the DLR? and how to check it
is there something under the Metrics for this?

Re: DeliverAsync-missing/big delay of DLR

Posted: Thu May 21, 2020 3:08 pm
by alt
developerlearn999 wrote:
Wed May 20, 2020 3:27 pm
when i use client.DeliverAsync, without await first,
Could you explain in details? When you send a DLR? What does continuation task after DeliverAsync?
developerlearn999 wrote:
Wed May 20, 2020 3:27 pm
is it possible that there is some queue that wait for release ?
It can be any reason. The customer can block reading from network and you get SMPPCLIENT_RCVTIMEOUT status for DLR.
developerlearn999 wrote:
Wed May 20, 2020 3:27 pm
how can i check it?
You can use client metrics to check it.

Re: DeliverAsync-missing/big delay of DLR

Posted: Sun May 24, 2020 5:24 am
by developerlearn999
Hi alt,
first question : is i call a lot of times the DeliverAsync,
and not all released yes, it there some property that will should me how many are waiting to be Delivered,
something that you have in the Metrics that should how many not sent yet (for SubmitSm?

Re: DeliverAsync-missing/big delay of DLR

Posted: Sun May 24, 2020 8:42 am
by developerlearn999
Hi Alt,
i tried to do a load test,
sent to 10200 phones with 300 chars.
the DLR in my db toke : 262 seconds
the DLR to my log toke : 528 seconds,
this is after i sent them in groups (more the one time in a DeliverAsync command).
all is done on my pc.
any way to improve it?
is it a reasonable time?