Increase TPS

Smpp v3.4 client

Moderator: alt

Locked
mrudula
Posts: 20
Joined: Thu Jul 08, 2010 9:20 am

Increase TPS

Post by mrudula » Thu Oct 07, 2010 1:43 pm

Hello there,

I am using the ALT library for my mobile sms applications but i am able to send just 1 sms/second whereas my gateways throughput is 80 to 100 sms/sec.
I have used PrepareSubmit to send messages.
Can anyoune guide me on how to increase the throughput of my service?
Can submitasync help me to enhance the throughput?
If so, please provide me some sample code to use submitasync.

Faster response is appreciated.
Please help. Its too urgent.
alt
Site Admin
Posts: 985
Joined: Tue Apr 25, 2006 9:45 am

Post by alt » Thu Oct 07, 2010 2:45 pm

Code: Select all

        List<SubmitSm> req = client.PrepareSubmit(
                      mode,
                      byte.Parse(tbSrcAdrTON.Text),
                      byte.Parse(tbSrcAdrNPI.Text),
                      tbSrcAdr.Text,
                      byte.Parse(tbDestAdrTON.Text),
                      byte.Parse(tbDestAdrNPI.Text),
                      tbDestAdr.Text,
                      coding,
                      tbSend.Text);

         client.SubmitAsync(req);

mrudula
Posts: 20
Joined: Thu Jul 08, 2010 9:20 am

Post by mrudula » Fri Oct 08, 2010 10:20 am

Hello SIr,
I really appreciate for the wonderful work done by you on smpp and for your quick support and co-operation.

I have used async with the same code as given by you, but it sends same message twice at same destination. I feel, it sends once through PrepareSubmit and secondly through SubmitAsync. Please help me to resolve this issue.

Also, i was interested in knowing some core concepts that can enhance the speed of my services to a large extent.

Please help!
Thanks in advance.
alt
Site Admin
Posts: 985
Joined: Tue Apr 25, 2006 9:45 am

Post by alt » Fri Oct 08, 2010 11:10 am

PrepareSubmit only split long text to concatenated messages when it is needed. It doesn't send messages.
Locked