Page 1 of 1
TPS
Posted: Tue May 04, 2021 7:50 am
by ammar
How many sms per second I can send?
My hardware: 64 GB RAM, 32 Cores of CPU, SSD HDD
I test it in production, but I can sent max 300 message per second.
Re: TPS
Posted: Tue May 04, 2021 9:33 pm
by alt
Hi ammar,
You can read about
performance in documentation. Try to run local test on the server.
You can also run
SmppClientDemo and SmppServerDemo applications on different machines and test the performance with batch sending in SmppClientDemo.
Re: TPS
Posted: Wed May 05, 2021 4:01 am
by ammar
I run on different machines and test the performance with batch sending. But max 300 m/s
Code: Select all
var listToSend = collection.AsQueryable().OrderByDescending(c => c.Priority)
.Where(c => c.GatewayID == GatewayId)
.Take(tps).ToList();
foreach (var item in listToSend)
{
var pduBuilder = SMS.ForSubmit()
.From(item.SourceAddress, 0, 0)
.To(item.DestAddress, 1, 1)
.Text(item.Text)
.ExpireIn(TimeSpan.FromDays(1))
.DeliveryReceipt()
.Coding((DataCodings)item.DataCoding);
pduList.AddRange(pduBuilder.Create(_client));
}
foreach (SubmitSm pdu in pduList.ToList())
{
pdu.Header.Sequence = _client.SequenceGenerator.NextSequenceNumber();
}
SubmitSmResp[] resp = await _client.SubmitAsync(pduList.ToArray());
Re: TPS
Posted: Mon May 17, 2021 7:15 pm
by alt
The issue is fixed in the version 2.9.9. The send buffer was only 4096 bytes. Now it uses standard value for .NET Socket class.