开发者

Suggestion for this kind of execution in asp.net

开发者 https://www.devze.com 2023-01-09 22:43 出处:网络
I have a web application that sends a single sms to multiple numbers via gsm.Every user has this application in his local system. I am able to send messages one by one. Thus far i have only 10 numbers

I have a web application that sends a single sms to multiple numbers via gsm.Every user has this application in his local system. I am able to send messages one by one. Thus far i have only 10 numbers so there is no problem. Consider i have a file having 10000 mobile numbers,

  • what will happen to my execution time?
  • What is your suggestion for this scenario?

NOTE:

I dont use an sms gateway because its a simple application which ll be hosted in IIS of my user system only..

I hav开发者_运维问答e mobile phone connected to my system and i am sending sms through it..


Your execution time will grow edit:(linearly).

Why dont you use windows queuing and then write every sms to the queue and then have a windows service running spinning up 1 - n number of threads to send sms's, but I guess the biggest problem for you will not be what your code limits you to do, but how many sms's you can send simultaneously with your gsm.

0

精彩评论

暂无评论...
验证码 换一张
取 消