DeliverAsync-missing/big delay of DLR

Post Reply
developerlearn999
Posts: 85
Joined: Thu Jun 20, 2019 9:34 am

DeliverAsync-missing/big delay of DLR

Post by developerlearn999 » Wed May 20, 2020 3:27 pm

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?
alt
Site Admin
Posts: 985
Joined: Tue Apr 25, 2006 9:45 am

Re: DeliverAsync-missing/big delay of DLR

Post by alt » Wed May 20, 2020 3:31 pm

Do you use .Result or .Wait for the Task?
developerlearn999
Posts: 85
Joined: Thu Jun 20, 2019 9:34 am

Re: DeliverAsync-missing/big delay of DLR

Post by developerlearn999 » Wed May 20, 2020 4:02 pm

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?
alt
Site Admin
Posts: 985
Joined: Tue Apr 25, 2006 9:45 am

Re: DeliverAsync-missing/big delay of DLR

Post by alt » Thu May 21, 2020 3:08 pm

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.
developerlearn999
Posts: 85
Joined: Thu Jun 20, 2019 9:34 am

Re: DeliverAsync-missing/big delay of DLR

Post by developerlearn999 » Sun May 24, 2020 5:24 am

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?
developerlearn999
Posts: 85
Joined: Thu Jun 20, 2019 9:34 am

Re: DeliverAsync-missing/big delay of DLR

Post by developerlearn999 » Sun May 24, 2020 8:42 am

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?
Post Reply