jookies / jasmin

Jasmin - Open source SMS gateway
http://jasminsms.com
Other
1.02k stars 549 forks source link

Jasmin is too slow 1MPS and cannot increase #1167

Open kimseasok opened 9 months ago

kimseasok commented 9 months ago

Hello everyone.

I encountered with SMS speeding issue. I created a smpp connector and set submit_throughput to 0 or the connector which I understand that it's an unlimited option. However, the connector still submit at 1MPS (1 message per second). I've tried with other value such as 110 for the submit_throughput, but there is no luck. Jasmin remained the same speed 1MPS. I view the Rabbitmq queue of the connector and the queue of the connector have 1 as pre-fetcch count.

Anyone please kindly advice on the issue. BTW, I'm currently using Jasmin 10.13

BlackOrder commented 8 months ago

the prefetch is for control only. it will not affect the throughput. if you put 0 there will be no qos throughput control. what are you using? httpApi, or RestApi?

mdsiyad commented 6 months ago

Hello everyone.

I encountered with SMS speeding issue. I created a smpp connector and set submit_throughput to 0 or the connector which I understand that it's an unlimited option. However, the connector still submit at 1MPS (1 message per second). I've tried with other value such as 110 for the submit_throughput, but there is no luck. Jasmin remained the same speed 1MPS. I view the Rabbitmq queue of the connector and the queue of the connector have 1 as pre-fetcch count.

Anyone please kindly advice on the issue. BTW, I'm currently using Jasmin 10.13

Hi, did you found solution

kimseasok commented 5 months ago

@mdsiyad , I found change the client connector is help with my case.

yield self.amqpBroker.chan.basic_qos(prefetch_count=110)